diff options
author | Richard Levitte <levitte@openssl.org> | 2015-05-29 08:07:10 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-05-29 12:41:50 +0200 |
commit | 296f54ee211edbf8d21479091b4c20a9ee7698ad (patch) | |
tree | 4f746de806c85723368d65c4ab36d8e34974b214 /apps/engine.c | |
parent | 21425195009e4daf6971453f8a0be08375ae9eec (diff) | |
download | openssl-296f54ee211edbf8d21479091b4c20a9ee7698ad.tar.gz |
Restore module loading
The module loading feature got broken a while ago, so restore it, but
have it a bit more explicit this time around.
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'apps/engine.c')
-rw-r--r-- | apps/engine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/engine.c b/apps/engine.c index 832cb0afaa..91af7bff72 100644 --- a/apps/engine.c +++ b/apps/engine.c @@ -369,6 +369,9 @@ int engine_main(int argc, char **argv) } } + if (!app_load_modules(NULL)) + goto end; + for (i = 0; i < sk_OPENSSL_STRING_num(engines); i++) { const char *id = sk_OPENSSL_STRING_value(engines, i); if ((e = ENGINE_by_id(id)) != NULL) { |