From: Dr. Stephen Henson Date: Tue, 20 May 2014 00:45:50 +0000 (+0100) Subject: Fix bug in signature algorithm copy. X-Git-Tag: master-post-reformat~802 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=deffd89af34022ba3ef11b0fb1af637f28159064;p=oweals%2Fopenssl.git Fix bug in signature algorithm copy. --- diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index bcb99b819d..9308aedc39 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -1341,7 +1341,7 @@ unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, unsigned cha etmp = ret; /* Skip over lengths for now */ ret += 4; - salglen = tls12_copy_sigalgs(s, etmp, salg, salglen); + salglen = tls12_copy_sigalgs(s, ret, salg, salglen); /* Fill in lengths */ s2n(salglen + 2, etmp); s2n(salglen, etmp);