提交 b0513fd2 编写于 作者: D Dr. Stephen Henson

Initialise context before using it.

(cherry picked from commit a4947e4e064d2d5bb622ac64cf13edc4a46ed196)
上级 c10e3f0c
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册