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:
ea746da
)
prevent warning
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 24 Feb 2010 15:24:19 +0000
(15:24 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 24 Feb 2010 15:24:19 +0000
(15:24 +0000)
crypto/evp/e_aes.c
patch
|
blob
|
history
diff --git
a/crypto/evp/e_aes.c
b/crypto/evp/e_aes.c
index afc802b03a7c1f1cf954ed88ebd334a523a64b37..eacc306fb4087c98628925a143768d164cce8e42 100644
(file)
--- 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;
}