summaryrefslogtreecommitdiffstats
path: root/crypto/evp/pmeth_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-05-03 12:50:52 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-05-03 12:50:52 +0000
commit207886cd3a4ec562d74e2e3e49fa09da27044565 (patch)
treee0d43e11e3761909c4977e5bda9a44a2c051ab42 /crypto/evp/pmeth_lib.c
parent336d1ee7337dbeb3dc4350e8fde26bc09db6d8d4 (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 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;