summaryrefslogtreecommitdiffstats
path: root/test/ssl-tests
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-12-01 16:34:24 +0100
committerMatt Caswell <matt@openssl.org>2020-12-02 18:04:54 +0100
commit4be35545aea9f76e3704fe88bb8f3fc135ceb4c8 (patch)
treeb1485c1e742ad135b9854920f15fdc1a73d245b1 /test/ssl-tests
parentFix a compile error with the no-sock option (diff)
downloadopenssl-4be35545aea9f76e3704fe88bb8f3fc135ceb4c8.tar.xz
openssl-4be35545aea9f76e3704fe88bb8f3fc135ceb4c8.zip
Fix no-dtls
Ensure we correctly detect if DTLS has been disabled in the client auth test_ssl_new tests. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13587)
Diffstat (limited to '')
-rw-r--r--test/ssl-tests/04-client_auth.cnf.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ssl-tests/04-client_auth.cnf.in b/test/ssl-tests/04-client_auth.cnf.in
index 5c748cb515..ad0ae7ae18 100644
--- a/test/ssl-tests/04-client_auth.cnf.in
+++ b/test/ssl-tests/04-client_auth.cnf.in
@@ -15,13 +15,14 @@ our $fips_mode;
my @protocols;
my @is_disabled = (0);
-push @is_disabled, anydisabled("ssl3", "tls1", "tls1_1", "tls1_2", "dtls1", "dtls1_2");
# We test version-flexible negotiation (undef) and each protocol version.
if ($fips_mode) {
@protocols = (undef, "TLSv1.2", "DTLSv1.2");
+ push @is_disabled, anydisabled("tls1_2", "dtls1_2");
} else {
@protocols = (undef, "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2", "DTLSv1", "DTLSv1.2");
+ push @is_disabled, anydisabled("ssl3", "tls1", "tls1_1", "tls1_2", "dtls1", "dtls1_2");
}
our @tests = ();