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

PR: 2244

Submitted By: "PMHager" <hager@dortmund.net>

Initialise pkey callback to 0.
上级 a033c3c7
...@@ -178,6 +178,7 @@ static EVP_PKEY_CTX *int_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id) ...@@ -178,6 +178,7 @@ static EVP_PKEY_CTX *int_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id)
ret->operation = EVP_PKEY_OP_UNDEFINED; ret->operation = EVP_PKEY_OP_UNDEFINED;
ret->pkey = pkey; ret->pkey = pkey;
ret->peerkey = NULL; ret->peerkey = NULL;
ret->pkey_gencb = 0;
if (pkey) if (pkey)
CRYPTO_add(&pkey->references,1,CRYPTO_LOCK_EVP_PKEY); CRYPTO_add(&pkey->references,1,CRYPTO_LOCK_EVP_PKEY);
ret->data = NULL; ret->data = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册