mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Use client version when deciding which cipher suites to disable.
This commit is contained in:
parent
668bcfd5ca
commit
230ec17d74
@ -967,7 +967,7 @@ void ssl_set_client_disabled(SSL *s)
|
||||
c->mask_a = 0;
|
||||
c->mask_k = 0;
|
||||
/* If less than TLS 1.2 don't allow TLS 1.2 only ciphers */
|
||||
if (TLS1_get_version(s) < TLS1_2_VERSION)
|
||||
if (TLS1_get_client_version(s) < TLS1_2_VERSION)
|
||||
c->mask_ssl = SSL_TLSV1_2;
|
||||
else
|
||||
c->mask_ssl = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user