summaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_lib.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-07-11 23:31:36 +0000
committerjkim <jkim@FreeBSD.org>2012-07-11 23:31:36 +0000
commit532b4084cb8cac5e6d91d42aa6a497dd4ba4a4f5 (patch)
tree0c30591ac90cb5e07a0763793709fd1056b67f57 /crypto/engine/eng_lib.c
parent1554498e64df093a519f9074c3412047f398aa17 (diff)
downloadFreeBSD-src-532b4084cb8cac5e6d91d42aa6a497dd4ba4a4f5.zip
FreeBSD-src-532b4084cb8cac5e6d91d42aa6a497dd4ba4a4f5.tar.gz
Import OpenSSL 1.0.1c.
Approved by: benl (maintainer)
Diffstat (limited to 'crypto/engine/eng_lib.c')
-rw-r--r--crypto/engine/eng_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/engine/eng_lib.c b/crypto/engine/eng_lib.c
index 5815b86..18a6664 100644
--- a/crypto/engine/eng_lib.c
+++ b/crypto/engine/eng_lib.c
@@ -125,6 +125,9 @@ int engine_free_util(ENGINE *e, int locked)
abort();
}
#endif
+ /* Free up any dynamically allocated public key methods */
+ engine_pkey_meths_free(e);
+ engine_pkey_asn1_meths_free(e);
/* Give the ENGINE a chance to do any structural cleanup corresponding
* to allocation it did in its constructor (eg. unload error strings) */
if(e->destroy)
OpenPOWER on IntegriCloud