提交 385a488c 编写于 作者: D Dr. Stephen Henson

prevent warning

上级 ea746dad
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册