Add support for application defined signature algorithms for use with
[openssl.git] / ssl / s3_pkt.c
index 2d569cc1cedc5aa2bb0d0e7f876a22468e77950e..dca345865a10a5fae10741e009676731181fc60d 100644 (file)
@@ -744,6 +744,7 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
         * bytes and record version number > TLS 1.0
         */
        if (s->state == SSL3_ST_CW_CLNT_HELLO_B
+                               && !s->renegotiate
                                && TLS1_get_version(s) > TLS1_VERSION)
                *(p++) = 0x1;
        else