Skip to content

Commit

Permalink
e_aes.c: uninitialized variable in aes_ccm_init_key.
Browse files Browse the repository at this point in the history
PR: 2874
Submitted by: Tomas Mraz
  • Loading branch information
Andy Polyakov committed Sep 15, 2012
1 parent 4f3df8b commit 244ed51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/evp/e_aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,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;
}
Expand Down

0 comments on commit 244ed51

Please sign in to comment.