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

Initialise pkey callback to 0.
This commit is contained in:
Dr. Stephen Henson 2010-05-03 12:50:52 +00:00
parent 336d1ee733
commit 207886cd3a

View File

@ -177,6 +177,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;