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:08:39 +0000 (16:08 +0100)
commit0488c0bbbe87eee3a800797b91350c653e9f1711
tree79886073d4210e09110f8af9bed21af750ef7c89
parent0a90a6831e02e00d9043ada635421cfd3da5ffe2
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)
apps/openssl.c