diff options
author | Andy Polyakov <appro@openssl.org> | 2012-09-15 08:46:08 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-09-15 08:46:08 +0000 |
commit | 507e5c3a615e43b1f5a3823506eb7df45d5f0baf (patch) | |
tree | 8eae8f0ba0fad07beef7f672555ebb60683ff379 /crypto/evp | |
parent | f8b90b5a5d4ea7600cb1d82a6a966ad161a8a8e4 (diff) |
e_aes.c: uninitialized variable in aes_ccm_init_key [from HEAD].
PR: 2874
Submitted by: Tomas Mraz
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/e_aes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c index a0c27ef139..11d728bbc2 100644 --- a/crypto/evp/e_aes.c +++ b/crypto/evp/e_aes.c @@ -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); CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, &cctx->ks, (block128_f)vpaes_encrypt); + cctx->str = NULL; cctx->key_set = 1; break; } |