projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b90b5
)
e_aes.c: uninitialized variable in aes_ccm_init_key [from HEAD].
author
Andy Polyakov
<appro@openssl.org>
Sat, 15 Sep 2012 08:46:08 +0000
(08:46 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sat, 15 Sep 2012 08:46:08 +0000
(08:46 +0000)
PR: 2874
Submitted by: Tomas Mraz
crypto/evp/e_aes.c
patch
|
blob
|
history
diff --git
a/crypto/evp/e_aes.c
b/crypto/evp/e_aes.c
index a0c27ef1392fa74cc8dcb95fbfbb61d706e99611..11d728bbc2b67e5e4bb0012dbe7ab43b9b5b32a3 100644
(file)
--- 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;
}