mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
prevent warning
This commit is contained in:
parent
ea746dad5e
commit
385a488c43
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user