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

PR: 2244

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

Initialise pkey callback to 0.
parent a033c3c7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;