diff options
author | steve <steve> | 2012-03-21 21:33:23 +0000 |
---|---|---|
committer | steve <steve> | 2012-03-21 21:33:23 +0000 |
commit | 25eaafcf01606f561117a1f810c5616a98117b68 (patch) | |
tree | b99237d078f6a66bf9a965ec8dd5ebaa7a3b23c6 | |
parent | 866055d5fb9a5d2af518d0aa7efce496f480f906 (diff) | |
download | openssl-25eaafcf01606f561117a1f810c5616a98117b68.tar.gz |
use client version when deciding whether to send supported signature algorithms extension
-rw-r--r-- | ssl/t1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index dfd397f9b..da941ad73 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -544,7 +544,7 @@ unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, unsigned cha } skip_ext: - if (TLS1_get_version(s) >= TLS1_2_VERSION) + if (TLS1_get_client_version(s) >= TLS1_2_VERSION) { if ((size_t)(limit - ret) < sizeof(tls12_sigalgs) + 6) return NULL; |