diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-03-21 21:32:57 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-03-21 21:32:57 +0000 |
commit | 78c5d2a9bb60fa3f5b730d5cf39127f3200b5eef (patch) | |
tree | 740d180b00b4dad4b6347d7f37e62ed141c161e2 /ssl | |
parent | 3bf4e14cc39c2169bf86853f50284a1e51174e01 (diff) |
use client version when deciding whether to send supported signature algorithms extension
Diffstat (limited to 'ssl')
-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 57d1107e40..27c8e3460d 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; |