From ffb1ac674c8294bf519add26fb37d94b7afeceb4 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 13 Apr 2006 20:16:56 +0000 Subject: Complete key derivation support. --- crypto/evp/pmeth_lib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/evp/pmeth_lib.c') diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index 95b1e4ed3c..97fcf26012 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -153,6 +153,8 @@ void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx) ctx->pmeth->cleanup(ctx); if (ctx->pkey) EVP_PKEY_free(ctx->pkey); + if (ctx->peerkey) + EVP_PKEY_free(ctx->peerkey); OPENSSL_free(ctx); } -- cgit v1.2.3