openssl/util
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
..
perl TLSProxy/Proxy.pm: switch to dynamic ports and overhaul. 2018-04-04 20:24:26 +02:00
add-depends.pl VMS C: reduce the dependency paths to be relative 2018-03-16 09:33:54 +01:00
build.info VMS: throw away [.util]shareable_image_wrap.c.in and add replacement scripts 2017-03-14 22:27:17 +01:00
ck_errf.pl Perltidy ck_errf 2017-05-03 14:16:58 -04:00
copy.pl util/copy.pl: work around glob quirk in some of earlier 5.1x Perl versions. 2017-11-10 09:39:29 +01:00
dofile.pl Revert "util/dofile.pl: only quote stuff that actually needs quoting" 2018-03-29 09:11:44 +02:00
find-doc-nits Copyright update of more files that have changed this year 2018-01-19 13:34:03 +01:00
find-unused-errs Add -f -r flags to find-unused-errs 2017-04-16 07:57:12 -04:00
indent.pro Fix invalid function type casts. 2017-12-15 19:33:48 +01:00
libcrypto.num Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
libssl.num Split configuration of TLSv1.3 ciphers from older ciphers 2018-03-14 10:15:50 +00:00
local_shlib.com.in VMS: don't use /DSF, turn off CALL_DEBUG instead 2017-03-15 03:09:57 +01:00
mkbuildinf.pl Fix SOURCE_DATE_EPOCH bug; use UTC 2017-11-27 14:34:14 -05:00
mkdef.pl Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
mkdir-p.pl utils/mkdir-p: check if dir exists also after mkdir failed 2016-06-23 11:10:29 -04:00
mkerr.pl Small simplification in mkerr.pl 2018-02-09 07:04:32 -05:00
mkrc.pl Update copyright year 2018-04-03 13:57:12 +01:00
openssl-format-source Fix some Typos and indents 2017-08-11 10:16:33 -04:00
openssl-update-copyright Enhance util/openssl-update-copyright shell script 2018-01-10 18:23:28 +01:00
opensslwrap.sh opensslwrap.sh to respect $OPENSSL_ENGINES. 2006-12-29 15:00:36 +00:00
private.num Add documentation for the RAND_DRBG API 2018-03-30 00:10:38 +02:00
process_docs.pl Additional name for all commands 2017-10-18 15:33:56 -04:00
shlib_wrap.sh.in Remove QNX support 2018-03-26 14:10:57 -04:00
su-filter.pl Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
unlocal_shlib.com.in VMS: don't use /DSF, turn off CALL_DEBUG instead 2017-03-15 03:09:57 +01:00