summaryrefslogtreecommitdiffstats
path: root/crypto/evp/pmeth_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-04-13 12:56:41 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-04-13 12:56:41 +0000
commitd87e615209f63035bee85ad17b8ec01fc425db6e (patch)
tree5e731345bcb88e3094e68f198b4d196b24f14eef /crypto/evp/pmeth_lib.c
parent92511cff4831eb29023b85f033e00055a038b3c2 (diff)
Add key derivation support.
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 d54dd4e966..95b1e4ed3c 100644
--- a/crypto/evp/pmeth_lib.c
+++ b/crypto/evp/pmeth_lib.c
@@ -120,6 +120,7 @@ static EVP_PKEY_CTX *int_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id)
ret->pmeth = pmeth;
ret->operation = EVP_PKEY_OP_UNDEFINED;
ret->pkey = pkey;
+ ret->peerkey = NULL;
if (pkey)
CRYPTO_add(&pkey->references,1,CRYPTO_LOCK_EVP_PKEY);
ret->data = NULL;