Skip to content

test: fix test-tls-no-sslv3 for OpenSSL 3

Rodrigo Muino Tomonari requested to merge github/fork/richardlau/openssl3 into master

OpenSSL 3 has changed the format of the error message for an unknown option to the CLI. Update the test to allow for the older and newer message formats.

Refs: https://github.com/openssl/openssl/pull/10774

Example message from an OpenSSL 1.1.1 CLI:

$ openssl s_client -ssl3
s_client: Option unknown option -ssl3
s_client: Use -help for summary.
$

OpenSSL 3.0.0 alpha13:

$ openssl s_client -ssl3
openssl s_client: Unknown option: -ssl3
openssl s_client: Use -help for summary.
$

cc @danbev

Merge request reports

Loading