From: Dr. Stephen Henson Date: Sat, 9 Apr 2005 23:52:53 +0000 (+0000) Subject: Typo.. X-Git-Tag: OpenSSL_0_9_7g~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=657129f748a140a5415dc9b26c8091f0e0564269;p=openssl Typo.. --- diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 1663af2433..c4a1a71523 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -1607,7 +1607,7 @@ static int ssl3_get_client_key_exchange(SSL *s) n2s(p,i); authenticator.length = i; - if (n < ((long)enc_ticket.length + authenticator.length + 6)) + if (n < (long)(enc_ticket.length + authenticator.length + 6)) { SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE, SSL_R_DATA_LENGTH_TOO_LONG); @@ -1632,7 +1632,7 @@ static int ssl3_get_client_key_exchange(SSL *s) goto err; } - if (n != ((long)enc_ticket.length + authenticator.length + + if (n != (long)(enc_ticket.length + authenticator.length + enc_pms.length + 6)) { SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,