]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: ssl: adopt tests to OpenSSL-3.0.N
authorIlya Shipitsin <chipitsine@gmail.com>
Sat, 23 Jul 2022 19:01:32 +0000 (00:01 +0500)
committerWilly Tarreau <w@1wt.eu>
Sat, 6 Aug 2022 15:45:55 +0000 (17:45 +0200)
on Ubuntu-22.04 openssl-3.0.5 is shipped which has changed ec curve
description to "Server Temp Key: ECDH, prime256v1, 256 bits"

reg-tests/ssl/ssl_generate_certificate.vtc

index 665175567ba901b65b3ed1b378d27a343832279d..a7d76a70e4460a8ecc9083cd078e3e28af244c98 100644 (file)
@@ -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 {