projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Redirect FIPS memory allocation to FIPS_malloc() routine, remove
[oweals/openssl.git]
/
crypto
/
engine
/
eng_list.c
diff --git
a/crypto/engine/eng_list.c
b/crypto/engine/eng_list.c
index bd511944bafdabbfabf34b0e96adced573cf9d97..27846edb1e9a4c7540ce3e6b0bfa17e8358951a3 100644
(file)
--- 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->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;
dest->destroy = src->destroy;
dest->init = src->init;
dest->finish = src->finish;
@@
-412,6
+413,7
@@
ENGINE *ENGINE_by_id(const char *id)
return iterator;
}
notfound:
return iterator;
}
notfound:
+ ENGINE_free(iterator);
ENGINEerr(ENGINE_F_ENGINE_BY_ID,ENGINE_R_NO_SUCH_ENGINE);
ERR_add_error_data(2, "id=", id);
return NULL;
ENGINEerr(ENGINE_F_ENGINE_BY_ID,ENGINE_R_NO_SUCH_ENGINE);
ERR_add_error_data(2, "id=", id);
return NULL;