summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-08-25 19:50:51 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-08-25 19:50:51 +0000
commit7daf0efad90ed403c407d562f20affca12c7a816 (patch)
tree8fe462e9474c0454e9ea7a6aeb3c9c903bad8d13 /crypto
parentedd4d402c665c815680ae7cfa9bfc8ee96f9dc32 (diff)
Fix warning.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/evp/e_rc4_hmac_md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/e_rc4_hmac_md5.c b/crypto/evp/e_rc4_hmac_md5.c
index 1fa2aa2b84..94c011000c 100644
--- 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);