projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Dynamic engine loading so that the call to ENGINE_load_builtin_engines() is perfo...
[openssl.git]
/
crypto
/
engine
/
eng_list.c
diff --git
a/crypto/engine/eng_list.c
b/crypto/engine/eng_list.c
index 7659231e5680f6d064e3ac7d916ee2e7bd8aa31e..4bd00592330b61f67debf3af091f98cf1c42f294 100644
(file)
--- a/
crypto/engine/eng_list.c
+++ b/
crypto/engine/eng_list.c
@@
-282,6
+282,8
@@
ENGINE *ENGINE_by_id(const char *id)
ENGINEerr(ENGINE_F_ENGINE_BY_ID, ERR_R_PASSED_NULL_PARAMETER);
return NULL;
}
+ ENGINE_load_builtin_engines();
+
if (!RUN_ONCE(&engine_lock_init, do_engine_lock_init)) {
ENGINEerr(ENGINE_F_ENGINE_BY_ID, ERR_R_MALLOC_FAILURE);
return NULL;