In apps_startup(), call OPENSSL_init_ssl() rather than OPENSSL_init_crypto()
authorRichard Levitte <levitte@openssl.org>
Sat, 25 Nov 2017 11:08:47 +0000 (12:08 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 8 Dec 2017 15:09:31 +0000 (16:09 +0100)
commitea4e868a3c6872f4944dd5469518f8b10ee3432c
tree1a4fb193334220cc3ecc012fdb3cc2bceab4cc6f
parentad74ff046bea5b1f77ff7425598802b91924652d
In apps_startup(), call OPENSSL_init_ssl() rather than OPENSSL_init_crypto()

Otherwise, any command that relies on ssl modules may fail, because
SSL_add_ssl_module() will be called after the config file has already
been loaded.

Fixes #4788

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4792)

(cherry picked from commit 0488c0bbbe87eee3a800797b91350c653e9f1711)
apps/openssl.c