]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Disable address validation for throughput test
authorNeil Horman <nhorman@openssl.org>
Tue, 17 Dec 2024 15:54:47 +0000 (10:54 -0500)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:33 +0000 (11:27 -0500)
The multiplexing test using quiche as a client seems to get confused
when server address validation is enabled.  specifically it writes the
wrong keys into its keylog file, causing the test to fail when tshark
can't decode the tls connection that is established.  Fix it by
disabling address validation for the multiplexing/transfer test

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26198)

test/quic-openssl-docker/run_endpoint.sh

index 0de96a8ef506d86fb55b0aba0d17d0ae59dd61bf..aa1575ca2f17387f72af42ffa942064eb9c60aa9 100644 (file)
@@ -88,10 +88,7 @@ elif [ "$ROLE" == "server" ]; then
     echo "TESTCASE is $TESTCASE"
     rm -f $CURLRC 
     case "$TESTCASE" in
-    "handshake")
-        NO_ADDR_VALIDATE=yes SSLKEYLOGFILE=/logs/keys.log FILEPREFIX=/www quic-hq-interop-server 443 /certs/cert.pem /certs/priv.key
-        ;;
-    "transfer")
+    "handshake"|"transfer")
         NO_ADDR_VALIDATE=yes SSLKEYLOGFILE=/logs/keys.log FILEPREFIX=/www quic-hq-interop-server 443 /certs/cert.pem /certs/priv.key
         ;;
     "retry"|"resumption")