projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336d1ee
)
PR: 2244
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 3 May 2010 12:50:52 +0000
(12:50 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 3 May 2010 12:50:52 +0000
(12:50 +0000)
Submitted By: "PMHager" <hager@dortmund.net>
Initialise pkey callback to 0.
crypto/evp/pmeth_lib.c
patch
|
blob
|
history
diff --git
a/crypto/evp/pmeth_lib.c
b/crypto/evp/pmeth_lib.c
index 4a05f0b1359d59c699f7c76bedae828d47220831..b2d8de3a8de926708efa5420de6252694a5edfd4 100644
(file)
--- 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;