Fix warning.

This commit is contained in:
Dr. Stephen Henson 2011-08-25 19:50:51 +00:00
parent edd4d402c6
commit 7daf0efad9

View 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);