From 207886cd3a4ec562d74e2e3e49fa09da27044565 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 3 May 2010 12:50:52 +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 4a05f0b135..b2d8de3a8d 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -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; -- 2.25.1