diff options
author | Andy Polyakov <appro@openssl.org> | 2012-09-15 08:45:42 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-09-15 08:45:42 +0000 |
commit | 244ed51a0dad5f52233b46be716defcfe7bc77ff (patch) | |
tree | 4af2f428b2ab8d48754db18273c1d07d87244df1 /crypto/evp/e_aes.c | |
parent | 4f3df8bea2981b1547eaae8704f0207c7766c2fa (diff) | |
download | openssl-244ed51a0dad5f52233b46be716defcfe7bc77ff.tar.gz |
e_aes.c: uninitialized variable in aes_ccm_init_key.
PR: 2874
Submitted by: Tomas Mraz
Diffstat (limited to 'crypto/evp/e_aes.c')
-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 519e0143d2..5dccb2f608 100644 --- a/crypto/evp/e_aes.c +++ b/crypto/evp/e_aes.c @@ -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; } |