]> granicus.if.org Git - openssl/commitdiff
Don't limit message sizes in ssl3_get_cert_verify.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 5 Jul 2014 12:19:12 +0000 (13:19 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 5 Jul 2014 12:30:38 +0000 (13:30 +0100)
PR#319 (reoponed version).
(cherry picked from commit 7f6e9578648728478e84246fd3e64026b8b6a48e)

ssl/s3_srvr.c

index 24e695c0bf8557fbd8fa1ff51c22dde4435efd6f..ce14fb6f69d9c6b0dffc9e349be9c3dc41143549 100644 (file)
@@ -2970,7 +2970,7 @@ int ssl3_get_cert_verify(SSL *s)
                SSL3_ST_SR_CERT_VRFY_A,
                SSL3_ST_SR_CERT_VRFY_B,
                -1,
-               516, /* Enough for 4096 bit RSA key with TLS v1.2 */
+               SSL3_RT_MAX_PLAIN_LENGTH,
                &ok);
 
        if (!ok) return((int)n);