]> granicus.if.org Git - openssl/commitdiff
Typo..
authorDr. Stephen Henson <steve@openssl.org>
Sat, 9 Apr 2005 23:52:53 +0000 (23:52 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 9 Apr 2005 23:52:53 +0000 (23:52 +0000)
ssl/s3_srvr.c

index 1663af24331743abbd7dce7605e46abc2c1a09a3..c4a1a7152382d5b4a9fb0f8f7714cedd8c3ea623 100644 (file)
@@ -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,