Submitted by: steve

Update maximum message size for certifiate verify messages to support
4096 bit RSA keys again as TLS v1.2 messages is two bytes longer.
This commit is contained in:
Dr. Stephen Henson 2012-01-05 00:28:43 +00:00
parent 192540b522
commit 59e68615ce

View file

@ -2921,7 +2921,7 @@ int ssl3_get_cert_verify(SSL *s)
SSL3_ST_SR_CERT_VRFY_A, SSL3_ST_SR_CERT_VRFY_A,
SSL3_ST_SR_CERT_VRFY_B, SSL3_ST_SR_CERT_VRFY_B,
-1, -1,
514, /* 514? */ 516, /* Enough for 4096 bit RSA key with TLS v1.2 */
&ok); &ok);
if (!ok) return((int)n); if (!ok) return((int)n);