diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-02-24 15:24:19 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-02-24 15:24:19 +0000 |
commit | 385a488c4313011ee7cf665d203af3f718a2a854 (patch) | |
tree | ee7e4b5024c61640492926b7cb05a6fc83d3d252 /crypto | |
parent | ea746dad5ed34f6c34992e99a055607bf4278e8a (diff) |
prevent warning
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/e_aes.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c index afc802b03a..eacc306fb4 100644 --- a/crypto/evp/e_aes.c +++ b/crypto/evp/e_aes.c @@ -99,9 +99,11 @@ IMPLEMENT_AES_CFBR(256,8) static int aes_counter (EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len) { + unsigned int num; AES_ctr128_encrypt (in,out,len, &((EVP_AES_KEY *)ctx->cipher_data)->ks, - ctx->iv,ctx->buf,&ctx->num); + ctx->iv,ctx->buf,&num); + ctx->num = (size_t)num; return 1; } |