Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: bdb55fb4b322b2c84530855a3b5148a0e387f5b4
https://github.com/ngircd/ngircd/commit/bdb55fb4b322b2c84530855a3b5148a0e38…
Author: Sebastian Andrzej Siewior <sebastian(a)breakpoint.cc>
Date: 2024-02-05 (Mon, 05 Feb 2024)
Changed paths:
M src/testsuite/connect-ssl-cert1-test.e
M src/testsuite/connect-ssl-cert2-test.e
Log Message:
-----------
testsuite: Pass -nameopt to openssl s_client.
The default value for the -nameopt option changed in OpenSSL 3.2 from
`oneline' to `utf8'. The `oneline' option also included a space around
the fields which is not the case for `utf8'. This means that
CN = my.first.domain.tld
changed to
CN=my.first.domain.tld
and is now longer recognized, leading to test failure.
This can be fixed by either going back to `oneline' or keeping `utf8'
and adding additionally `space_eq'. Anoter way would be to teach the
expect that the space is optional.
Add explicit -nameopt option with `utf8,space_eq' which is understood by
by OpenSSL 3.2 and earlier to make explicit. Remove the wildcard.
Signed-off-by: Sebastian Andrzej Siewior <sebastian(a)breakpoint.cc>