提交 7daf0efa 编写于 作者: D Dr. Stephen Henson

Fix warning.

上级 edd4d402
...@@ -224,7 +224,7 @@ static int rc4_hmac_md5_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) ...@@ -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)); memset (hmac_key,0,sizeof(hmac_key));
if (arg > sizeof(hmac_key)) { if (arg > (int)sizeof(hmac_key)) {
MD5_Init(&key->head); MD5_Init(&key->head);
MD5_Update(&key->head,ptr,arg); MD5_Update(&key->head,ptr,arg);
MD5_Final(hmac_key,&key->head); MD5_Final(hmac_key,&key->head);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册