From b6c1d4b7f0e1ef546c28e1f8138957618a08c4e7 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 15 Oct 2012 11:28:59 +0000 Subject: [PATCH] e_aes.c: uninitialized variable in aes_ccm_init_key. PR: 2874 Submitted by: Tomas Mraz (backport from HEAD) --- crypto/evp/e_aes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c index 71f9e037d5..d1357f7e38 100644 --- a/crypto/evp/e_aes.c +++ b/crypto/evp/e_aes.c @@ -1195,6 +1195,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); CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, &cctx->ks, (block128_f)vpaes_encrypt); + cctx->str = NULL; cctx->key_set = 1; break; } -- 2.25.1