From: Dr. Stephen Henson Date: Mon, 3 May 2010 12:50:52 +0000 (+0000) Subject: PR: 2244 X-Git-Tag: OpenSSL_1_0_0a~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=207886cd3a4ec562d74e2e3e49fa09da27044565;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 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;