mirror of
https://github.com/openssl/openssl.git
synced 2024-12-12 03:23:59 +08:00
Initialise context before using it.
This commit is contained in:
parent
262f1c524e
commit
a4947e4e06
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user