mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Fix warning.
This commit is contained in:
parent
edd4d402c6
commit
7daf0efad9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user