openssl/include/internal
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
..
__DECC_INCLUDE_EPILOGUE.H VMS: Copy DECC inclusion epi- and prologues to internals 2017-04-20 13:10:06 +02:00
__DECC_INCLUDE_PROLOGUE.H VMS: Copy DECC inclusion epi- and prologues to internals 2017-04-20 13:10:06 +02:00
bio.h Update copyright year 2018-02-13 13:59:25 +00:00
comp.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
conf.h RT4562: Fix misleading doc on OPENSSL_config 2016-06-14 12:30:37 -04:00
constant_time_locl.h Update copyright year 2018-02-27 13:59:42 +00:00
cryptlib.h Make OPENSSL_rdtsc universally available. 2018-02-07 10:08:15 +10:00
dane.h Perform DANE-EE(3) name checks by default 2016-07-12 10:16:34 -04:00
dso.h Use "" not <> for internal/ includes 2017-08-22 09:54:20 -04:00
dsoerr.h Small simplification in mkerr.pl 2018-02-09 07:04:32 -05:00
err.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
nelem.h Remove tests dependence on e_os.h 2017-08-18 09:50:25 +10:00
numbers.h Copyright consolidation 03/10 2016-05-17 14:24:17 -04:00
o_dir.h Fix some Typos and indents 2017-08-11 10:16:33 -04:00
o_str.h Remove internal functions OPENSSL_strcasecmp and OPENSSL_strncasecmp 2016-05-28 02:15:04 +02:00
refcount.h Move the REF_PRINT support from e_os.h to internal/refcount.h. 2017-08-30 07:20:44 +10:00
sockets.h Remove QNX support 2018-03-26 14:10:57 -04:00
sslconf.h Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
thread_once.h Clarify what RUN_ONCE returns 2017-01-13 13:10:21 +01:00