mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-20 05:19:40 +00:00
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)
This commit is contained in:
parent
c195c88233
commit
4be35545ae
@ -15,13 +15,14 @@ our $fips_mode;
|
|||||||
|
|
||||||
my @protocols;
|
my @protocols;
|
||||||
my @is_disabled = (0);
|
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.
|
# We test version-flexible negotiation (undef) and each protocol version.
|
||||||
if ($fips_mode) {
|
if ($fips_mode) {
|
||||||
@protocols = (undef, "TLSv1.2", "DTLSv1.2");
|
@protocols = (undef, "TLSv1.2", "DTLSv1.2");
|
||||||
|
push @is_disabled, anydisabled("tls1_2", "dtls1_2");
|
||||||
} else {
|
} else {
|
||||||
@protocols = (undef, "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2", "DTLSv1", "DTLSv1.2");
|
@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 = ();
|
our @tests = ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user