From: Dr. Stephen Henson Date: Mon, 3 May 2010 12:50:36 +0000 (+0000) Subject: PR: 2244 X-Git-Tag: OpenSSL-fips-2_0-rc1~1111 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=efcf5f1c50c6b1e89c843095702d56ab0032bacf;p=oweals%2Fopenssl.git PR: 2244 Submitted By: "PMHager" Initialise pkey callback to 0. --- 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;