X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fpmeth_lib.c;h=95b1e4ed3c3e5bf9828c232a7846d1748e7aa406;hp=d54dd4e966053d500197b79d9ed39e27d25f459b;hb=d87e615209f63035bee85ad17b8ec01fc425db6e;hpb=92511cff4831eb29023b85f033e00055a038b3c2 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;