diff options
Diffstat (limited to 'src/lib/libcrypto/evp/p_lib.c')
-rw-r--r-- | src/lib/libcrypto/evp/p_lib.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/p_lib.c b/src/lib/libcrypto/evp/p_lib.c index e26ccd0d08..1916c61699 100644 --- a/src/lib/libcrypto/evp/p_lib.c +++ b/src/lib/libcrypto/evp/p_lib.c | |||
@@ -411,10 +411,7 @@ void EVP_PKEY_free(EVP_PKEY *x) | |||
411 | static void EVP_PKEY_free_it(EVP_PKEY *x) | 411 | static void EVP_PKEY_free_it(EVP_PKEY *x) |
412 | { | 412 | { |
413 | if (x->ameth && x->ameth->pkey_free) | 413 | if (x->ameth && x->ameth->pkey_free) |
414 | { | ||
415 | x->ameth->pkey_free(x); | 414 | x->ameth->pkey_free(x); |
416 | x->pkey.ptr = NULL; | ||
417 | } | ||
418 | #ifndef OPENSSL_NO_ENGINE | 415 | #ifndef OPENSSL_NO_ENGINE |
419 | if (x->engine) | 416 | if (x->engine) |
420 | { | 417 | { |