From: Dr. Stephen Henson Date: Wed, 6 Nov 2013 13:16:50 +0000 (+0000) Subject: Initialise context before using it. X-Git-Tag: master-post-reformat~1096 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b0513fd2bb921411709004de636685e9474c3e8c;p=oweals%2Fopenssl.git Initialise context before using it. (cherry picked from commit a4947e4e064d2d5bb622ac64cf13edc4a46ed196) --- 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)