From: Ilya Shipitsin Date: Sat, 23 Jul 2022 19:01:32 +0000 (+0500) Subject: REGTESTS: ssl: adopt tests to OpenSSL-3.0.N X-Git-Tag: v2.7-dev3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0865160b93b1ac8326ac0e5b57be24504070c2c1;p=thirdparty%2Fhaproxy.git REGTESTS: ssl: adopt tests to OpenSSL-3.0.N on Ubuntu-22.04 openssl-3.0.5 is shipped which has changed ec curve description to "Server Temp Key: ECDH, prime256v1, 256 bits" --- diff --git a/reg-tests/ssl/ssl_generate_certificate.vtc b/reg-tests/ssl/ssl_generate_certificate.vtc index 665175567b..a7d76a70e4 100644 --- a/reg-tests/ssl/ssl_generate_certificate.vtc +++ b/reg-tests/ssl/ssl_generate_certificate.vtc @@ -160,7 +160,7 @@ client c6 -connect ${h1_clearlst_sock} { # The curve with the highest priority is X25519 for OpenSSL 1.1.1 and later, # and P-256 for OpenSSL 1.0.2. shell { - echo "Q" | openssl s_client -unix "${tmpdir}/ssl.sock" -servername server.ecdsa.com -tls1_2 2>/dev/null | grep -E "Server Temp Key: (ECDH, P-256, 256 bits|X25519, 253 bits)" + echo "Q" | openssl s_client -unix "${tmpdir}/ssl.sock" -servername server.ecdsa.com -tls1_2 2>/dev/null | grep -E "Server Temp Key: (ECDH, P-256, 256 bits|ECDH, prime256v1, 256 bits|X25519, 253 bits)" } shell {