diff options
author | Felix Laurie von Massenbach <felix@erbridge.co.uk> | 2014-06-15 11:58:33 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-06-17 17:41:46 +0100 |
commit | 50cc4f7b3d64621b6062ad1f16a7630b7c730d9b (patch) | |
tree | 886feb9bb83a09c79c0e18e5b945dbb0bb9dc5a0 /crypto/evp | |
parent | 1f61d8b5b1bda282015236fe9860d2f6de127356 (diff) |
Fix signed/unsigned comparisons.
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/e_aes_cbc_hmac_sha256.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/e_aes_cbc_hmac_sha256.c b/crypto/evp/e_aes_cbc_hmac_sha256.c index c6c05d936b..31db13ef8d 100644 --- a/crypto/evp/e_aes_cbc_hmac_sha256.c +++ b/crypto/evp/e_aes_cbc_hmac_sha256.c @@ -774,7 +774,7 @@ static int aesni_cbc_hmac_sha256_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, vo unsigned int n4x=1, x4; unsigned int frag, last, packlen, inp_len; - if (arg<sizeof(EVP_CTRL_TLS1_1_MULTIBLOCK_PARAM)) return -1; + if (arg<(int)sizeof(EVP_CTRL_TLS1_1_MULTIBLOCK_PARAM)) return -1; inp_len = param->inp[11]<<8|param->inp[12]; |