mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
PR: 2244
Submitted By: "PMHager" <hager@dortmund.net> Initialise pkey callback to 0.
This commit is contained in:
parent
a033c3c72b
commit
efcf5f1c50
@ -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->pkey = pkey;
|
||||
ret->peerkey = NULL;
|
||||
ret->pkey_gencb = 0;
|
||||
if (pkey)
|
||||
CRYPTO_add(&pkey->references,1,CRYPTO_LOCK_EVP_PKEY);
|
||||
ret->data = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user