summaryrefslogtreecommitdiffstats
path: root/ssl/t1_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-12-26 17:09:39 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-12-26 17:09:39 +0000
commit53bb723834f523d09cbb05adad4bc5ce3c672d59 (patch)
tree5b799002890bedf14a4ec525eb7cc2f89a10c0da /ssl/t1_lib.c
parent684a2264c50daf11682b8eb867a00638cc585028 (diff)
Use client version when deciding which cipher suites to disable.
(backport from HEAD)
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r--ssl/t1_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 31cce72e0e..984d4bbf7a 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -957,7 +957,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;