openssl/crypto/conf
Matt Caswell d8f031e890 Move the loading of the ssl_conf module to libcrypto
The GOST engine needs to be loaded before we initialise libssl. Otherwise
the GOST ciphersuites are not enabled. However the SSL conf module must
be loaded before we initialise libcrypto. Otherwise we will fail to read
the SSL config from a config file properly.

Another problem is that an application may make use of both libcrypto and
libssl. If it performs libcrypto stuff first and OPENSSL_init_crypto()
is called and loads a config file it will fail if that config file has
any libssl stuff in it.

This commit separates out the loading of the SSL conf module from the
interpretation of its contents. The loading piece doesn't know anything
about SSL so this can be moved to libcrypto. The interpretation of what it
means remains in libssl. This means we can load the SSL conf data before
libssl is there and interpret it when it later becomes available.

Fixes #5809

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5818)
2018-04-05 15:30:12 +01:00
..
build.info Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
conf_api.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
conf_def.c Revise and cleanup; use strict,warnings 2018-03-19 10:23:28 -04:00
conf_def.h Remove some code 2018-03-28 16:11:30 +01:00
conf_err.c Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
conf_lcl.h Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
conf_lib.c Remove parentheses of return. 2017-10-18 16:05:06 +01:00
conf_mall.c Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
conf_mod.c Don't use getenv for critical functions when run as setuid/setgid 2018-04-04 14:45:49 +02:00
conf_sap.c Resolve warnings in VC-WIN32 build, which allows to add /WX. 2017-11-13 10:58:57 +01:00
conf_ssl.c Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
keysets.pl Remove some code 2018-03-28 16:11:30 +01:00