From: Dr. Stephen Henson Date: Wed, 21 Mar 2012 21:33:23 +0000 (+0000) Subject: use client version when deciding whether to send supported signature algorithms extension X-Git-Tag: master-post-reformat~1896 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7744ef1ada971014bef95cffe75c4f9645db8f30;p=oweals%2Fopenssl.git use client version when deciding whether to send supported signature algorithms extension --- diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index dfd397f9b7..da941ad73e 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;