summaryrefslogtreecommitdiffstats
path: root/crypto/evp/pmeth_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-05-03 12:50:36 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-05-03 12:50:36 +0000
commitefcf5f1c50c6b1e89c843095702d56ab0032bacf (patch)
tree50bea98e9735b8e455c2146d0c201341598db0c2 /crypto/evp/pmeth_lib.c
parenta033c3c72bc292a8795dc26a250f1b9e2dc27c63 (diff)
PR: 2244
Submitted By: "PMHager" <hager@dortmund.net> Initialise pkey callback to 0.
Diffstat (limited to 'crypto/evp/pmeth_lib.c')
-rw-r--r--crypto/evp/pmeth_lib.c1
1 files changed, 1 insertions, 0 deletions
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;