diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2005-05-15 00:54:45 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2005-05-15 00:54:45 +0000 |
commit | b6995add5c91e9d62812883d884f0c558e6235d3 (patch) | |
tree | de05b05031f2ddd4848598a1e8e33e0aa3021c06 /crypto/evp/p_lib.c | |
parent | 8ccd06c66c948916a5a3984087860e297f49051d (diff) |
Make -CSP option work again in pkcs12 utility by checking for
attribute in EVP_PKEY structure.
Diffstat (limited to 'crypto/evp/p_lib.c')
-rw-r--r-- | crypto/evp/p_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c index 934f8ff8be..85caa478ca 100644 --- a/crypto/evp/p_lib.c +++ b/crypto/evp/p_lib.c @@ -451,6 +451,8 @@ void EVP_PKEY_free(EVP_PKEY *x) } #endif EVP_PKEY_free_it(x); + if (x->attributes) + sk_X509_ATTRIBUTE_pop_free(x->attributes, X509_ATTRIBUTE_free); OPENSSL_free(x); } |