summaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_list.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-06-02 17:09:17 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-06-02 17:09:17 +0000
commit7e5b06813d2cf4d314d577d9b11f2cac13835faa (patch)
tree35e12230b047125adf45685c2ec064a2df017ab4 /crypto/engine/eng_list.c
parent1892c8bf979ebb759ca8c1f3e454cb659eb75ae5 (diff)
Automatically free up dynamically allocated public key methods when
and ENGINE is destroyed.
Diffstat (limited to 'crypto/engine/eng_list.c')
-rw-r--r--crypto/engine/eng_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/engine/eng_list.c b/crypto/engine/eng_list.c
index bd511944ba..66a52b89e0 100644
--- a/crypto/engine/eng_list.c
+++ b/crypto/engine/eng_list.c
@@ -336,6 +336,7 @@ static void engine_cpy(ENGINE *dest, const ENGINE *src)
dest->store_meth = src->store_meth;
dest->ciphers = src->ciphers;
dest->digests = src->digests;
+ dest->pkey_meths = src->pkey_meths;
dest->destroy = src->destroy;
dest->init = src->init;
dest->finish = src->finish;