summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-11-06 13:16:50 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-11-06 13:16:50 +0000
commita4947e4e064d2d5bb622ac64cf13edc4a46ed196 (patch)
tree4bd7b9f8c0259e15764d5cc1161ddc41643c048b /crypto/evp
parent262f1c524eec3334f1c32f4df353de1f86051cd1 (diff)
Initialise context before using it.
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/p5_crpt2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/p5_crpt2.c b/crypto/evp/p5_crpt2.c
index 9409a82327..cf26085c1a 100644
--- a/crypto/evp/p5_crpt2.c
+++ b/crypto/evp/p5_crpt2.c
@@ -91,7 +91,7 @@ int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
if (mdlen < 0)
return 0;
- HMAC_CTX_init(&hctx);
+ HMAC_CTX_init(&hctx_tpl);
p = out;
tkeylen = keylen;
if(!pass)