Submitted by: Jeffrey Altman <jaltman@columbia.edu>
Reviewed by:
PR: 169
This commit is contained in:
Lutz Jänicke 2002-07-30 13:34:44 +00:00
parent e970fa0022
commit addafc08a5

View File

@ -1588,7 +1588,7 @@ static int ssl3_get_client_key_exchange(SSL *s)
/* Note that the length is checked again below, /* Note that the length is checked again below,
** after decryption ** after decryption
*/ */
if(enc.pms_length > sizeof pms) if(enc_pms.length > sizeof pms)
{ {
SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE, SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,
SSL_R_DATA_LENGTH_TOO_LONG); SSL_R_DATA_LENGTH_TOO_LONG);