Fix warning.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 25 Aug 2011 19:50:51 +0000 (19:50 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 25 Aug 2011 19:50:51 +0000 (19:50 +0000)
crypto/evp/e_rc4_hmac_md5.c

index 1fa2aa2b84bd5e4c4605ccf644b808528fce8761..94c011000c483b2d9fca30d788e369d699f66b4c 100644 (file)
@@ -224,7 +224,7 @@ static int rc4_hmac_md5_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr)
 
                memset (hmac_key,0,sizeof(hmac_key));
 
-               if (arg > sizeof(hmac_key)) {
+               if (arg > (int)sizeof(hmac_key)) {
                        MD5_Init(&key->head);
                        MD5_Update(&key->head,ptr,arg);
                        MD5_Final(hmac_key,&key->head);