openssl/ssl
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
..
record Update copyright year 2018-03-20 13:08:46 +00:00
statem Set error code on alloc failures 2018-04-03 11:31:16 -04:00
bio_ssl.c
build.info
d1_lib.c
d1_msg.c
d1_srtp.c
methods.c
packet_locl.h
packet.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
pqueue.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
s3_cbc.c
s3_enc.c Update copyright year 2018-03-20 13:08:46 +00:00
s3_lib.c Allow NULL for some _free routines. 2018-03-27 16:25:08 -04:00
s3_msg.c
ssl_asn1.c Update copyright year 2018-03-20 13:08:46 +00:00
ssl_cert_table.h Update copyright year 2018-03-20 13:08:46 +00:00
ssl_cert.c Allow NULL for some _free routines. 2018-03-27 16:25:08 -04:00
ssl_ciph.c Fix configuration of TLSv1.3 ciphersuites 2018-04-04 16:17:26 +01:00
ssl_conf.c Split configuration of TLSv1.3 ciphers from older ciphers 2018-03-14 10:15:50 +00:00
ssl_err.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
ssl_init.c Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
ssl_lib.c Fix configuration of TLSv1.3 ciphersuites 2018-04-04 16:17:26 +01:00
ssl_locl.h Fix configuration of TLSv1.3 ciphersuites 2018-04-04 16:17:26 +01:00
ssl_mcnf.c Move the loading of the ssl_conf module to libcrypto 2018-04-05 15:30:12 +01:00
ssl_rsa.c Update copyright year 2018-03-20 13:08:46 +00:00
ssl_sess.c Allow NULL for some _free routines. 2018-03-27 16:25:08 -04:00
ssl_stat.c
ssl_txt.c
ssl_utst.c
t1_enc.c GOST MAC algorithms don't support EVP_PKEY_new_raw_private_key() 2018-03-30 19:28:33 +01:00
t1_lib.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
t1_trce.c Visual Studio 2017 debug build warning error on 32 bit build 2018-04-04 14:54:47 +02:00
tls13_enc.c Don't use a ssl specific DRBG anymore 2018-03-19 15:04:40 +01:00
tls_srp.c Use the private RNG for data that is not public 2018-04-02 22:22:43 +02:00