]> granicus.if.org Git - openssl/commitdiff
Fix bug in signature algorithm copy.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 20 May 2014 00:45:50 +0000 (01:45 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 20 May 2014 10:09:04 +0000 (11:09 +0100)
ssl/t1_lib.c

index bcb99b819dadaebdf2c8f88d92ee9024c45f9df3..9308aedc3959f30e85d775492f4c1702c5ba4acf 100644 (file)
@@ -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);