Fix Dynamic engine loading so that the call to ENGINE_load_builtin_engines() is perfo...
authorShane Lontis <shane.lontis@oracle.com>
Tue, 14 Apr 2020 02:25:34 +0000 (12:25 +1000)
committerDmitry Belyavskiy <beldmit@gmail.com>
Wed, 15 Apr 2020 08:09:04 +0000 (11:09 +0300)
commita5c864ce901483d6f1067c22cb7c0a6322d351f5
tree18c8fb04917d5a900d1f9e2b494550f39d512c84
parent9bf475fcf366c386d8757c6c6fd9f9313a0b310a
Fix Dynamic engine loading so that the call to ENGINE_load_builtin_engines() is performed.

Fixes #11510

PR #11240 Added support for passing the libctx to the config loader.
As part of this work the call to OPENSSL_load_builtin_modules() + ENGINE_load_builtin_engines() was deferred until module_run() is called.
The call to ENGINE_load_builtin_engines() has been added to ENGINE_by_id().

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/11543)
crypto/engine/eng_list.c