From b93f6c2db94f736b497ff31a793c1e6766eaf209 Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 25 May 2021 12:04:22 +1000 Subject: err: rename err_load_xxx_strings_int functions The new names are ossl_err_load_xxx_strings. Reviewed-by: Tomas Mraz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/15446) --- crypto/asn1/asn1_err.c | 2 +- crypto/async/async_err.c | 2 +- crypto/bio/bio_err.c | 2 +- crypto/bn/bn_err.c | 2 +- crypto/buffer/buf_err.c | 2 +- crypto/cmp/cmp_err.c | 2 +- crypto/cms/cms_err.c | 2 +- crypto/comp/comp_err.c | 2 +- crypto/conf/conf_err.c | 2 +- crypto/cpt_err.c | 2 +- crypto/crmf/crmf_err.c | 2 +- crypto/ct/ct_err.c | 2 +- crypto/dh/dh_err.c | 2 +- crypto/dsa/dsa_err.c | 2 +- crypto/dso/dso_err.c | 2 +- crypto/ec/ec_err.c | 2 +- crypto/encode_decode/decoder_err.c | 2 +- crypto/encode_decode/encoder_err.c | 2 +- crypto/engine/eng_err.c | 2 +- crypto/err/err.c | 6 ++-- crypto/err/err_all.c | 74 +++++++++++++++++++------------------- crypto/err/err_all_legacy.c | 6 ++-- crypto/ess/ess_err.c | 2 +- crypto/evp/evp_err.c | 2 +- crypto/http/http_err.c | 2 +- crypto/init.c | 4 +-- crypto/objects/obj_err.c | 2 +- crypto/ocsp/ocsp_err.c | 2 +- crypto/pem/pem_err.c | 2 +- crypto/pkcs12/pk12err.c | 2 +- crypto/pkcs7/pkcs7err.c | 2 +- crypto/property/property_err.c | 2 +- crypto/rand/rand_err.c | 2 +- crypto/rsa/rsa_err.c | 2 +- crypto/sm2/sm2_err.c | 2 +- crypto/store/store_err.c | 2 +- crypto/ts/ts_err.c | 2 +- crypto/ui/ui_err.c | 2 +- crypto/x509/v3err.c | 2 +- crypto/x509/x509_err.c | 2 +- 40 files changed, 81 insertions(+), 81 deletions(-) (limited to 'crypto') diff --git a/crypto/asn1/asn1_err.c b/crypto/asn1/asn1_err.c index af706e638e..a7b32e3a6e 100644 --- a/crypto/asn1/asn1_err.c +++ b/crypto/asn1/asn1_err.c @@ -202,7 +202,7 @@ static const ERR_STRING_DATA ASN1_str_reasons[] = { #endif -int err_load_ASN1_strings_int(void) +int ossl_err_load_ASN1_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(ASN1_str_reasons[0].error) == NULL) diff --git a/crypto/async/async_err.c b/crypto/async/async_err.c index 285a0f2290..925d1eb534 100644 --- a/crypto/async/async_err.c +++ b/crypto/async/async_err.c @@ -27,7 +27,7 @@ static const ERR_STRING_DATA ASYNC_str_reasons[] = { #endif -int err_load_ASYNC_strings_int(void) +int ossl_err_load_ASYNC_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(ASYNC_str_reasons[0].error) == NULL) diff --git a/crypto/bio/bio_err.c b/crypto/bio/bio_err.c index d70bb08436..7a36c61148 100644 --- a/crypto/bio/bio_err.c +++ b/crypto/bio/bio_err.c @@ -76,7 +76,7 @@ static const ERR_STRING_DATA BIO_str_reasons[] = { #endif -int err_load_BIO_strings_int(void) +int ossl_err_load_BIO_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(BIO_str_reasons[0].error) == NULL) diff --git a/crypto/bn/bn_err.c b/crypto/bn/bn_err.c index e4ac23e1b6..6b25d1b503 100644 --- a/crypto/bn/bn_err.c +++ b/crypto/bn/bn_err.c @@ -45,7 +45,7 @@ static const ERR_STRING_DATA BN_str_reasons[] = { #endif -int err_load_BN_strings_int(void) +int ossl_err_load_BN_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(BN_str_reasons[0].error) == NULL) diff --git a/crypto/buffer/buf_err.c b/crypto/buffer/buf_err.c index 7eee54f321..ffe6f7b854 100644 --- a/crypto/buffer/buf_err.c +++ b/crypto/buffer/buf_err.c @@ -20,7 +20,7 @@ static const ERR_STRING_DATA BUF_str_reasons[] = { #endif -int err_load_BUF_strings_int(void) +int ossl_err_load_BUF_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(BUF_str_reasons[0].error) == NULL) diff --git a/crypto/cmp/cmp_err.c b/crypto/cmp/cmp_err.c index 93aed38f9a..09acdee986 100644 --- a/crypto/cmp/cmp_err.c +++ b/crypto/cmp/cmp_err.c @@ -160,7 +160,7 @@ static const ERR_STRING_DATA CMP_str_reasons[] = { # endif -int err_load_CMP_strings_int(void) +int ossl_err_load_CMP_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(CMP_str_reasons[0].error) == NULL) diff --git a/crypto/cms/cms_err.c b/crypto/cms/cms_err.c index 33186a5ca9..1fba9d8502 100644 --- a/crypto/cms/cms_err.c +++ b/crypto/cms/cms_err.c @@ -163,7 +163,7 @@ static const ERR_STRING_DATA CMS_str_reasons[] = { # endif -int err_load_CMS_strings_int(void) +int ossl_err_load_CMS_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(CMS_str_reasons[0].error) == NULL) diff --git a/crypto/comp/comp_err.c b/crypto/comp/comp_err.c index 972e75cdaf..c0bfeb865b 100644 --- a/crypto/comp/comp_err.c +++ b/crypto/comp/comp_err.c @@ -28,7 +28,7 @@ static const ERR_STRING_DATA COMP_str_reasons[] = { # endif -int err_load_COMP_strings_int(void) +int ossl_err_load_COMP_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(COMP_str_reasons[0].error) == NULL) diff --git a/crypto/conf/conf_err.c b/crypto/conf/conf_err.c index a06f55b104..68ee90b970 100644 --- a/crypto/conf/conf_err.c +++ b/crypto/conf/conf_err.c @@ -62,7 +62,7 @@ static const ERR_STRING_DATA CONF_str_reasons[] = { #endif -int err_load_CONF_strings_int(void) +int ossl_err_load_CONF_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(CONF_str_reasons[0].error) == NULL) diff --git a/crypto/cpt_err.c b/crypto/cpt_err.c index a56cb2c804..79c1a90595 100644 --- a/crypto/cpt_err.c +++ b/crypto/cpt_err.c @@ -58,7 +58,7 @@ static const ERR_STRING_DATA CRYPTO_str_reasons[] = { #endif -int err_load_CRYPTO_strings_int(void) +int ossl_err_load_CRYPTO_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(CRYPTO_str_reasons[0].error) == NULL) diff --git a/crypto/crmf/crmf_err.c b/crypto/crmf/crmf_err.c index bc7e8558f9..8cb3682c44 100644 --- a/crypto/crmf/crmf_err.c +++ b/crypto/crmf/crmf_err.c @@ -61,7 +61,7 @@ static const ERR_STRING_DATA CRMF_str_reasons[] = { # endif -int err_load_CRMF_strings_int(void) +int ossl_err_load_CRMF_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(CRMF_str_reasons[0].error) == NULL) diff --git a/crypto/ct/ct_err.c b/crypto/ct/ct_err.c index d067b713c1..810b3f5070 100644 --- a/crypto/ct/ct_err.c +++ b/crypto/ct/ct_err.c @@ -48,7 +48,7 @@ static const ERR_STRING_DATA CT_str_reasons[] = { # endif -int err_load_CT_strings_int(void) +int ossl_err_load_CT_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(CT_str_reasons[0].error) == NULL) diff --git a/crypto/dh/dh_err.c b/crypto/dh/dh_err.c index 3652e89b3d..4152397426 100644 --- a/crypto/dh/dh_err.c +++ b/crypto/dh/dh_err.c @@ -62,7 +62,7 @@ static const ERR_STRING_DATA DH_str_reasons[] = { # endif -int err_load_DH_strings_int(void) +int ossl_err_load_DH_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(DH_str_reasons[0].error) == NULL) diff --git a/crypto/dsa/dsa_err.c b/crypto/dsa/dsa_err.c index 888c043d89..5685d5e83e 100644 --- a/crypto/dsa/dsa_err.c +++ b/crypto/dsa/dsa_err.c @@ -41,7 +41,7 @@ static const ERR_STRING_DATA DSA_str_reasons[] = { # endif -int err_load_DSA_strings_int(void) +int ossl_err_load_DSA_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(DSA_str_reasons[0].error) == NULL) diff --git a/crypto/dso/dso_err.c b/crypto/dso/dso_err.c index c018a16464..f3f5002b77 100644 --- a/crypto/dso/dso_err.c +++ b/crypto/dso/dso_err.c @@ -46,7 +46,7 @@ static const ERR_STRING_DATA DSO_str_reasons[] = { #endif -int err_load_DSO_strings_int(void) +int ossl_err_load_DSO_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(DSO_str_reasons[0].error) == NULL) diff --git a/crypto/ec/ec_err.c b/crypto/ec/ec_err.c index 108df5695b..9e21968499 100644 --- a/crypto/ec/ec_err.c +++ b/crypto/ec/ec_err.c @@ -119,7 +119,7 @@ static const ERR_STRING_DATA EC_str_reasons[] = { # endif -int err_load_EC_strings_int(void) +int ossl_err_load_EC_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(EC_str_reasons[0].error) == NULL) diff --git a/crypto/encode_decode/decoder_err.c b/crypto/encode_decode/decoder_err.c index c948d82698..88324a1d50 100644 --- a/crypto/encode_decode/decoder_err.c +++ b/crypto/encode_decode/decoder_err.c @@ -26,7 +26,7 @@ static const ERR_STRING_DATA OSSL_DECODER_str_reasons[] = { #endif -int err_load_OSSL_DECODER_strings_int(void) +int ossl_err_load_OSSL_DECODER_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(OSSL_DECODER_str_reasons[0].error) == NULL) diff --git a/crypto/encode_decode/encoder_err.c b/crypto/encode_decode/encoder_err.c index 0b5028769d..7f5f2b3a9a 100644 --- a/crypto/encode_decode/encoder_err.c +++ b/crypto/encode_decode/encoder_err.c @@ -26,7 +26,7 @@ static const ERR_STRING_DATA OSSL_ENCODER_str_reasons[] = { #endif -int err_load_OSSL_ENCODER_strings_int(void) +int ossl_err_load_OSSL_ENCODER_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(OSSL_ENCODER_str_reasons[0].error) == NULL) diff --git a/crypto/engine/eng_err.c b/crypto/engine/eng_err.c index 1cea06be08..917ecb5ae4 100644 --- a/crypto/engine/eng_err.c +++ b/crypto/engine/eng_err.c @@ -81,7 +81,7 @@ static const ERR_STRING_DATA ENGINE_str_reasons[] = { # endif -int err_load_ENGINE_strings_int(void) +int ossl_err_load_ENGINE_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(ENGINE_str_reasons[0].error) == NULL) diff --git a/crypto/err/err.c b/crypto/err/err.c index 046bfcfe16..c77c1920a2 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -248,7 +248,7 @@ static int err_load_strings(const ERR_STRING_DATA *str) return 1; } -int err_load_ERR_strings_int(void) +int ossl_err_load_ERR_strings(void) { #ifndef OPENSSL_NO_ERR if (!RUN_ONCE(&err_string_init, do_err_strings_init)) @@ -262,7 +262,7 @@ int err_load_ERR_strings_int(void) int ERR_load_strings(int lib, ERR_STRING_DATA *str) { - if (err_load_ERR_strings_int() == 0) + if (ossl_err_load_ERR_strings() == 0) return 0; err_patch(lib, str); @@ -272,7 +272,7 @@ int ERR_load_strings(int lib, ERR_STRING_DATA *str) int ERR_load_strings_const(const ERR_STRING_DATA *str) { - if (err_load_ERR_strings_int() == 0) + if (ossl_err_load_ERR_strings() == 0) return 0; err_load_strings(str); return 1; diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c index d5b3b5dbc6..55aa2b8dbd 100644 --- a/crypto/err/err_all.c +++ b/crypto/err/err_all.c @@ -45,66 +45,66 @@ #include "internal/propertyerr.h" #include "prov/proverr.h" -int err_load_crypto_strings_int(void) +int ossl_err_load_crypto_strings(void) { if (0 #ifndef OPENSSL_NO_ERR - || err_load_ERR_strings_int() == 0 /* include error strings for SYSerr */ - || err_load_BN_strings_int() == 0 - || err_load_RSA_strings_int() == 0 + || ossl_err_load_ERR_strings() == 0 /* include error strings for SYSerr */ + || ossl_err_load_BN_strings() == 0 + || ossl_err_load_RSA_strings() == 0 # ifndef OPENSSL_NO_DH - || err_load_DH_strings_int() == 0 + || ossl_err_load_DH_strings() == 0 # endif - || err_load_EVP_strings_int() == 0 - || err_load_BUF_strings_int() == 0 - || err_load_OBJ_strings_int() == 0 - || err_load_PEM_strings_int() == 0 + || ossl_err_load_EVP_strings() == 0 + || ossl_err_load_BUF_strings() == 0 + || ossl_err_load_OBJ_strings() == 0 + || ossl_err_load_PEM_strings() == 0 # ifndef OPENSSL_NO_DSA - || err_load_DSA_strings_int() == 0 + || ossl_err_load_DSA_strings() == 0 # endif - || err_load_X509_strings_int() == 0 - || err_load_ASN1_strings_int() == 0 - || err_load_CONF_strings_int() == 0 - || err_load_CRYPTO_strings_int() == 0 + || ossl_err_load_X509_strings() == 0 + || ossl_err_load_ASN1_strings() == 0 + || ossl_err_load_CONF_strings() == 0 + || ossl_err_load_CRYPTO_strings() == 0 # ifndef OPENSSL_NO_COMP - || err_load_COMP_strings_int() == 0 + || ossl_err_load_COMP_strings() == 0 # endif # ifndef OPENSSL_NO_EC - || err_load_EC_strings_int() == 0 + || ossl_err_load_EC_strings() == 0 # endif - /* skip err_load_SSL_strings_int() because it is not in this library */ - || err_load_BIO_strings_int() == 0 - || err_load_PKCS7_strings_int() == 0 - || err_load_X509V3_strings_int() == 0 - || err_load_PKCS12_strings_int() == 0 - || err_load_RAND_strings_int() == 0 - || err_load_DSO_strings_int() == 0 + /* skip ossl_err_load_SSL_strings() because it is not in this library */ + || ossl_err_load_BIO_strings() == 0 + || ossl_err_load_PKCS7_strings() == 0 + || ossl_err_load_X509V3_strings() == 0 + || ossl_err_load_PKCS12_strings() == 0 + || ossl_err_load_RAND_strings() == 0 + || ossl_err_load_DSO_strings() == 0 # ifndef OPENSSL_NO_TS - || err_load_TS_strings_int() == 0 + || ossl_err_load_TS_strings() == 0 # endif # ifndef OPENSSL_NO_ENGINE - || err_load_ENGINE_strings_int() == 0 + || ossl_err_load_ENGINE_strings() == 0 # endif - || err_load_HTTP_strings_int() == 0 + || ossl_err_load_HTTP_strings() == 0 # ifndef OPENSSL_NO_OCSP - || err_load_OCSP_strings_int() == 0 + || ossl_err_load_OCSP_strings() == 0 # endif - || err_load_UI_strings_int() == 0 + || ossl_err_load_UI_strings() == 0 # ifndef OPENSSL_NO_CMS - || err_load_CMS_strings_int() == 0 + || ossl_err_load_CMS_strings() == 0 # endif # ifndef OPENSSL_NO_CRMF - || err_load_CRMF_strings_int() == 0 - || err_load_CMP_strings_int() == 0 + || ossl_err_load_CRMF_strings() == 0 + || ossl_err_load_CMP_strings() == 0 # endif # ifndef OPENSSL_NO_CT - || err_load_CT_strings_int() == 0 + || ossl_err_load_CT_strings() == 0 # endif - || err_load_ESS_strings_int() == 0 - || err_load_ASYNC_strings_int() == 0 - || err_load_OSSL_STORE_strings_int() == 0 - || err_load_PROP_strings_int() == 0 - || err_load_PROV_strings_int() == 0 + || ossl_err_load_ESS_strings() == 0 + || ossl_err_load_ASYNC_strings() == 0 + || ossl_err_load_OSSL_STORE_strings() == 0 + || ossl_err_load_PROP_strings() == 0 + || ossl_err_load_PROV_strings() == 0 #endif ) return 0; diff --git a/crypto/err/err_all_legacy.c b/crypto/err/err_all_legacy.c index e6cb882b3f..970fd5c500 100644 --- a/crypto/err/err_all_legacy.c +++ b/crypto/err/err_all_legacy.c @@ -44,16 +44,16 @@ # include "crypto/x509v3err.h" # ifdef OPENSSL_NO_ERR -# define IMPLEMENT_LEGACY_ERR_LOAD(lib) \ +# define IMPLEMENT_LEGACY_ERR_LOAD(lib) \ int ERR_load_##lib##_strings(void) \ { \ return 1; \ } # else -# define IMPLEMENT_LEGACY_ERR_LOAD(lib) \ +# define IMPLEMENT_LEGACY_ERR_LOAD(lib) \ int ERR_load_##lib##_strings(void) \ { \ - return err_load_##lib##_strings_int(); \ + return ossl_err_load_##lib##_strings(); \ } # endif diff --git a/crypto/ess/ess_err.c b/crypto/ess/ess_err.c index 2ece3443bd..eb76dfe7cc 100644 --- a/crypto/ess/ess_err.c +++ b/crypto/ess/ess_err.c @@ -38,7 +38,7 @@ static const ERR_STRING_DATA ESS_str_reasons[] = { #endif -int err_load_ESS_strings_int(void) +int ossl_err_load_ESS_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(ESS_str_reasons[0].error) == NULL) diff --git a/crypto/evp/evp_err.c b/crypto/evp/evp_err.c index cd36b09fb5..c0d9232103 100644 --- a/crypto/evp/evp_err.c +++ b/crypto/evp/evp_err.c @@ -198,7 +198,7 @@ static const ERR_STRING_DATA EVP_str_reasons[] = { #endif -int err_load_EVP_strings_int(void) +int ossl_err_load_EVP_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(EVP_str_reasons[0].error) == NULL) diff --git a/crypto/http/http_err.c b/crypto/http/http_err.c index 4ac639197e..b2f2cfb187 100644 --- a/crypto/http/http_err.c +++ b/crypto/http/http_err.c @@ -71,7 +71,7 @@ static const ERR_STRING_DATA HTTP_str_reasons[] = { #endif -int err_load_HTTP_strings_int(void) +int ossl_err_load_HTTP_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(HTTP_str_reasons[0].error) == NULL) diff --git a/crypto/init.c b/crypto/init.c index 3170c60ac2..49d817c089 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -174,8 +174,8 @@ DEFINE_RUN_ONCE_STATIC(ossl_init_load_crypto_strings) * pulling in all the error strings during static linking */ #if !defined(OPENSSL_NO_ERR) && !defined(OPENSSL_NO_AUTOERRINIT) - OSSL_TRACE(INIT, "err_load_crypto_strings_int()\n"); - ret = err_load_crypto_strings_int(); + OSSL_TRACE(INIT, "ossl_err_load_crypto_strings()\n"); + ret = ossl_err_load_crypto_strings(); load_crypto_strings_inited = 1; #endif return ret; diff --git a/crypto/objects/obj_err.c b/crypto/objects/obj_err.c index ebc46cb44c..2c487433bf 100644 --- a/crypto/objects/obj_err.c +++ b/crypto/objects/obj_err.c @@ -24,7 +24,7 @@ static const ERR_STRING_DATA OBJ_str_reasons[] = { #endif -int err_load_OBJ_strings_int(void) +int ossl_err_load_OBJ_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(OBJ_str_reasons[0].error) == NULL) diff --git a/crypto/ocsp/ocsp_err.c b/crypto/ocsp/ocsp_err.c index fd0643c715..f0d4d2601d 100644 --- a/crypto/ocsp/ocsp_err.c +++ b/crypto/ocsp/ocsp_err.c @@ -62,7 +62,7 @@ static const ERR_STRING_DATA OCSP_str_reasons[] = { # endif -int err_load_OCSP_strings_int(void) +int ossl_err_load_OCSP_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(OCSP_str_reasons[0].error) == NULL) diff --git a/crypto/pem/pem_err.c b/crypto/pem/pem_err.c index 50f9c2b925..5fa9fc09be 100644 --- a/crypto/pem/pem_err.c +++ b/crypto/pem/pem_err.c @@ -64,7 +64,7 @@ static const ERR_STRING_DATA PEM_str_reasons[] = { #endif -int err_load_PEM_strings_int(void) +int ossl_err_load_PEM_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(PEM_str_reasons[0].error) == NULL) diff --git a/crypto/pkcs12/pk12err.c b/crypto/pkcs12/pk12err.c index 9899e272c1..bcd950626d 100644 --- a/crypto/pkcs12/pk12err.c +++ b/crypto/pkcs12/pk12err.c @@ -51,7 +51,7 @@ static const ERR_STRING_DATA PKCS12_str_reasons[] = { #endif -int err_load_PKCS12_strings_int(void) +int ossl_err_load_PKCS12_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(PKCS12_str_reasons[0].error) == NULL) diff --git a/crypto/pkcs7/pkcs7err.c b/crypto/pkcs7/pkcs7err.c index c2c40b48af..e30df047a4 100644 --- a/crypto/pkcs7/pkcs7err.c +++ b/crypto/pkcs7/pkcs7err.c @@ -88,7 +88,7 @@ static const ERR_STRING_DATA PKCS7_str_reasons[] = { #endif -int err_load_PKCS7_strings_int(void) +int ossl_err_load_PKCS7_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(PKCS7_str_reasons[0].error) == NULL) diff --git a/crypto/property/property_err.c b/crypto/property/property_err.c index a7c722feb5..d70e458c47 100644 --- a/crypto/property/property_err.c +++ b/crypto/property/property_err.c @@ -36,7 +36,7 @@ static const ERR_STRING_DATA PROP_str_reasons[] = { #endif -int err_load_PROP_strings_int(void) +int ossl_err_load_PROP_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(PROP_str_reasons[0].error) == NULL) diff --git a/crypto/rand/rand_err.c b/crypto/rand/rand_err.c index 32c4c6cbcb..694b120b78 100644 --- a/crypto/rand/rand_err.c +++ b/crypto/rand/rand_err.c @@ -99,7 +99,7 @@ static const ERR_STRING_DATA RAND_str_reasons[] = { #endif -int err_load_RAND_strings_int(void) +int ossl_err_load_RAND_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(RAND_str_reasons[0].error) == NULL) diff --git a/crypto/rsa/rsa_err.c b/crypto/rsa/rsa_err.c index 8008092b13..1e3c81ff5e 100644 --- a/crypto/rsa/rsa_err.c +++ b/crypto/rsa/rsa_err.c @@ -153,7 +153,7 @@ static const ERR_STRING_DATA RSA_str_reasons[] = { #endif -int err_load_RSA_strings_int(void) +int ossl_err_load_RSA_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(RSA_str_reasons[0].error) == NULL) diff --git a/crypto/sm2/sm2_err.c b/crypto/sm2/sm2_err.c index f548aba539..d420d4e597 100644 --- a/crypto/sm2/sm2_err.c +++ b/crypto/sm2/sm2_err.c @@ -37,7 +37,7 @@ static const ERR_STRING_DATA SM2_str_reasons[] = { # endif -int err_load_SM2_strings_int(void) +int ossl_err_load_SM2_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(SM2_str_reasons[0].error) == NULL) diff --git a/crypto/store/store_err.c b/crypto/store/store_err.c index 8aa3444693..ec62b358c5 100644 --- a/crypto/store/store_err.c +++ b/crypto/store/store_err.c @@ -65,7 +65,7 @@ static const ERR_STRING_DATA OSSL_STORE_str_reasons[] = { #endif -int err_load_OSSL_STORE_strings_int(void) +int ossl_err_load_OSSL_STORE_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(OSSL_STORE_str_reasons[0].error) == NULL) diff --git a/crypto/ts/ts_err.c b/crypto/ts/ts_err.c index 3a682c694f..9027ef1939 100644 --- a/crypto/ts/ts_err.c +++ b/crypto/ts/ts_err.c @@ -78,7 +78,7 @@ static const ERR_STRING_DATA TS_str_reasons[] = { # endif -int err_load_TS_strings_int(void) +int ossl_err_load_TS_strings(void) { # ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(TS_str_reasons[0].error) == NULL) diff --git a/crypto/ui/ui_err.c b/crypto/ui/ui_err.c index 83ea371997..6ba4857a3b 100644 --- a/crypto/ui/ui_err.c +++ b/crypto/ui/ui_err.c @@ -37,7 +37,7 @@ static const ERR_STRING_DATA UI_str_reasons[] = { #endif -int err_load_UI_strings_int(void) +int ossl_err_load_UI_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(UI_str_reasons[0].error) == NULL) diff --git a/crypto/x509/v3err.c b/crypto/x509/v3err.c index 18eb9917cb..985d7be7dc 100644 --- a/crypto/x509/v3err.c +++ b/crypto/x509/v3err.c @@ -137,7 +137,7 @@ static const ERR_STRING_DATA X509V3_str_reasons[] = { #endif -int err_load_X509V3_strings_int(void) +int ossl_err_load_X509V3_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(X509V3_str_reasons[0].error) == NULL) diff --git a/crypto/x509/x509_err.c b/crypto/x509/x509_err.c index 76d57e869c..c2f3ae0f5f 100644 --- a/crypto/x509/x509_err.c +++ b/crypto/x509/x509_err.c @@ -84,7 +84,7 @@ static const ERR_STRING_DATA X509_str_reasons[] = { #endif -int err_load_X509_strings_int(void) +int ossl_err_load_X509_strings(void) { #ifndef OPENSSL_NO_ERR if (ERR_reason_error_string(X509_str_reasons[0].error) == NULL) -- cgit v1.2.1