projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edd4d40
)
Fix warning.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 25 Aug 2011 19:50:51 +0000
(19:50 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 25 Aug 2011 19:50:51 +0000
(19:50 +0000)
crypto/evp/e_rc4_hmac_md5.c
patch
|
blob
|
history
diff --git
a/crypto/evp/e_rc4_hmac_md5.c
b/crypto/evp/e_rc4_hmac_md5.c
index 1fa2aa2b84bd5e4c4605ccf644b808528fce8761..94c011000c483b2d9fca30d788e369d699f66b4c 100644
(file)
--- a/
crypto/evp/e_rc4_hmac_md5.c
+++ b/
crypto/evp/e_rc4_hmac_md5.c
@@
-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);