diff options
author | Tomas Mraz <tomas@openssl.org> | 2024-04-26 17:23:13 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-05-09 09:20:25 +0200 |
commit | 21819f78b057c254254646a7854bfad0cd40ed83 (patch) | |
tree | 296fa3737de9f8a5f4fe2374ba2447ea0e9c663d /include | |
parent | f6ce48f5b8ad4d8d748ea87d2490cbed08db9936 (diff) |
Make conf_diagnostics apply also to the SSL conf errors
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24275)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/crypto.h.in | 2 | ||||
-rw-r--r-- | include/openssl/sslerr.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/crypto.h.in b/include/openssl/crypto.h.in index 5d7d3fd2e1..04d99e2092 100644 --- a/include/openssl/crypto.h.in +++ b/include/openssl/crypto.h.in @@ -536,6 +536,8 @@ int OSSL_LIB_CTX_load_config(OSSL_LIB_CTX *ctx, const char *config_file); void OSSL_LIB_CTX_free(OSSL_LIB_CTX *); OSSL_LIB_CTX *OSSL_LIB_CTX_get0_global_default(void); OSSL_LIB_CTX *OSSL_LIB_CTX_set0_default(OSSL_LIB_CTX *libctx); +int OSSL_LIB_CTX_get_conf_diagnostics(OSSL_LIB_CTX *ctx); +void OSSL_LIB_CTX_set_conf_diagnostics(OSSL_LIB_CTX *ctx, unsigned int value); void OSSL_sleep(uint64_t millis); diff --git a/include/openssl/sslerr.h b/include/openssl/sslerr.h index 980a6c7b2f..16305674ca 100644 --- a/include/openssl/sslerr.h +++ b/include/openssl/sslerr.h @@ -117,6 +117,7 @@ # define SSL_R_EMPTY_SRTP_PROTECTION_PROFILE_LIST 354 # define SSL_R_ENCRYPTED_LENGTH_TOO_LONG 150 # define SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST 151 +# define SSL_R_ERROR_IN_SYSTEM_DEFAULT_CONFIG 419 # define SSL_R_ERROR_SETTING_TLSA_BASE_DOMAIN 204 # define SSL_R_EXCEEDS_MAX_FRAGMENT_SIZE 194 # define SSL_R_EXCESSIVE_MESSAGE_SIZE 152 |