From efcf5f1c50c6b1e89c843095702d56ab0032bacf Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 3 May 2010 12:50:36 +0000 Subject: [PATCH] PR: 2244 Submitted By: "PMHager" Initialise pkey callback to 0. --- crypto/evp/pmeth_lib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index e4a08fb96d..29448c00ec 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -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; -- 2.39.2