Typo.
authorLutz Jänicke <jaenicke@openssl.org>
Tue, 30 Jul 2002 13:34:44 +0000 (13:34 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Tue, 30 Jul 2002 13:34:44 +0000 (13:34 +0000)
Submitted by: Jeffrey Altman <jaltman@columbia.edu>
Reviewed by:
PR: 169

ssl/s3_srvr.c

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