openssl/ssl
Matt Caswell a68eee679a Move some libssl global variables into SSL_CTX
disabled_enc_mask et al were global. Now that cipher loading is done
individually for each SSL_CTX, based on the libctx configured for that
SSL_CTX this means that some things will be disabled for one SSL_CTX but
not for another. The global variables set up the potential for different
SSL_CTXs to trample on each other. We move these variables into the SSL_CTX
structure.

Fixes #12040

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13465)
2020-11-23 09:31:23 +00:00
..
record SSL: refactor all SSLfatal() calls 2020-11-11 12:12:23 +01:00
statem Deprecate RSA harder 2020-11-18 23:38:34 +01:00
bio_ssl.c Convert all {NAME}err() in ssl/ to their corresponding ERR_raise() call 2020-11-11 12:12:11 +01:00
build.info Deprecate RSA harder 2020-11-18 23:38:34 +01:00
d1_lib.c SSL: Change SSLerr() to ERR_raise() 2020-11-20 09:39:11 +01:00
d1_msg.c Convert all {NAME}err() in ssl/ to their corresponding ERR_raise() call 2020-11-11 12:12:11 +01:00
d1_srtp.c Convert all {NAME}err() in ssl/ to their corresponding ERR_raise() call 2020-11-11 12:12:11 +01:00
ktls.c Move KTLS inline functions only used by libssl into ssl/ktls.c. 2020-08-31 09:34:19 +01:00
methods.c Update some inclusions of <openssl/macros.h> 2019-11-07 11:37:25 +01:00
pqueue.c Convert all {NAME}err() in ssl/ to their corresponding ERR_raise() call 2020-11-11 12:12:11 +01:00
s3_cbc.c TLS fixes for CBC mode and no-deprecated 2020-09-09 17:59:08 +10:00
s3_enc.c SSL: refactor all SSLfatal() calls 2020-11-11 12:12:23 +01:00
s3_lib.c Return sensible values for some SSL ctrls 2020-11-18 14:14:52 +00:00
s3_msg.c Convert all {NAME}err() in ssl/ to their corresponding ERR_raise() call 2020-11-11 12:12:11 +01:00
ssl_asn1.c Convert all {NAME}err() in ssl/ to their corresponding ERR_raise() call 2020-11-11 12:12:11 +01:00
ssl_cert_table.h Following the license change, modify the boilerplates in ssl/ 2018-12-06 14:20:59 +01:00
ssl_cert.c Only disabled what we need to in a no-dh build 2020-11-18 14:14:52 +00:00
ssl_ciph.c Move some libssl global variables into SSL_CTX 2020-11-23 09:31:23 +00:00
ssl_conf.c Implement a replacement for SSL_set_tmp_dh() 2020-11-18 14:14:52 +00:00
ssl_err.c Improve some error messages if a digest is not available 2020-08-29 17:56:20 +10:00
ssl_init.c Convert all {NAME}err() in ssl/ to their corresponding ERR_raise() call 2020-11-11 12:12:11 +01:00
ssl_lib.c Move some libssl global variables into SSL_CTX 2020-11-23 09:31:23 +00:00
ssl_local.h Move some libssl global variables into SSL_CTX 2020-11-23 09:31:23 +00:00
ssl_mcnf.c SSL: refactor all SSLfatal() calls 2020-11-11 12:12:23 +01:00
ssl_rsa_legacy.c Deprecate RSA harder 2020-11-18 23:38:34 +01:00
ssl_rsa.c Deprecate RSA harder 2020-11-18 23:38:34 +01:00
ssl_sess.c SSL: refactor all SSLfatal() calls 2020-11-11 12:12:23 +01:00
ssl_stat.c Reorganize local header files 2019-09-28 20:26:35 +02:00
ssl_txt.c Convert all {NAME}err() in ssl/ to their corresponding ERR_raise() call 2020-11-11 12:12:11 +01:00
ssl_utst.c Reorganize local header files 2019-09-28 20:26:35 +02:00
t1_enc.c SSL: refactor all SSLfatal() calls 2020-11-11 12:12:23 +01:00
t1_lib.c Move some libssl global variables into SSL_CTX 2020-11-23 09:31:23 +00:00
t1_trce.c t1_trce: Fix remaining places where the 24 bit shift overflow happens 2020-05-20 17:31:56 +02:00
tls13_enc.c SSL: refactor all SSLfatal() calls 2020-11-11 12:12:23 +01:00
tls_depr.c Implement a replacement for SSL_set_tmp_dh() 2020-11-18 14:14:52 +00:00
tls_srp.c SSL: refactor all SSLfatal() calls 2020-11-11 12:12:23 +01:00