Commit 0c0a51d3 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Initialise context before using it.

(cherry picked from commit a4947e4e)
parent 68b6a943
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,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)