e_aes.c: uninitialized variable in aes_ccm_init_key [from HEAD].
PR: 2874 Submitted by: Tomas Mraz
This commit is contained in:
parent
f8b90b5a5d
commit
507e5c3a61
1 changed files with 1 additions and 0 deletions
|
@ -1221,6 +1221,7 @@ static int aes_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
|
||||||
vpaes_set_encrypt_key(key, ctx->key_len*8, &cctx->ks);
|
vpaes_set_encrypt_key(key, ctx->key_len*8, &cctx->ks);
|
||||||
CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L,
|
CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L,
|
||||||
&cctx->ks, (block128_f)vpaes_encrypt);
|
&cctx->ks, (block128_f)vpaes_encrypt);
|
||||||
|
cctx->str = NULL;
|
||||||
cctx->key_set = 1;
|
cctx->key_set = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue