From: Pauli Date: Tue, 18 Feb 2025 01:45:58 +0000 (+1100) Subject: ssl_test: correctly handle ML-DSA being disabled X-Git-Tag: openssl-3.5.0-alpha1~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94491369f2c354d624e0b302124e28cfa6c108ce;p=thirdparty%2Fopenssl.git ssl_test: correctly handle ML-DSA being disabled Reviewed-by: Tim Hudson Reviewed-by: Shane Lontis Reviewed-by: Viktor Dukhovni Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/26806) --- diff --git a/test/recipes/80-test_ssl_new.t b/test/recipes/80-test_ssl_new.t index c581f34b58a..3b697759720 100644 --- a/test/recipes/80-test_ssl_new.t +++ b/test/recipes/80-test_ssl_new.t @@ -72,6 +72,7 @@ my $no_dh = disabled("dh"); my $no_dsa = disabled("dsa"); my $no_ec2m = disabled("ec2m"); my $no_ocsp = disabled("ocsp"); +my $no_ml_dsa = disabled("ml-dsa"); # Add your test here if the test conf.in generates test cases and/or # expectations dynamically based on the OpenSSL compile-time config. @@ -87,7 +88,7 @@ my %conf_dependent_tests = ( "17-renegotiate.cnf" => disabled("tls1_2"), "18-dtls-renegotiate.cnf" => disabled("dtls1_2") || !disabled("sctp"), "19-mac-then-encrypt.cnf" => !$is_default_tls, - "20-cert-select.cnf" => !$is_default_tls || $no_dh || $no_dsa, + "20-cert-select.cnf" => !$is_default_tls || $no_dh || $no_dsa || $no_ml_dsa, "22-compression.cnf" => !$is_default_tls, "25-cipher.cnf" => disabled("poly1305") || disabled("chacha"), "27-ticket-appdata.cnf" => !$is_default_tls,