X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=crypto%2Ferr%2Ferr_all.c;h=e40cda4bb3287f5e022d00acb6b079bfd1beb485;hb=ded1999702eb684f2057628b261bdd951fa73bc3;hp=5ab89f9498a9284aa770cdea1b9442288cd669c4;hpb=6caa4edd3e6410aff7c80011d905abcd3c1b1143;p=openssl.git diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c index 5ab89f9498..e40cda4bb3 100644 --- a/crypto/err/err_all.c +++ b/crypto/err/err_all.c @@ -56,6 +56,8 @@ * [including the GNU Public Licence.] */ +#define OPENSSL_NO_FIPS_ERR + #include #include #include @@ -95,15 +97,23 @@ #include #include #include +#ifdef OPENSSL_FIPS +#include +#endif #include #ifndef OPENSSL_NO_CMS #include #endif - +#ifndef OPENSSL_NO_JPAKE #include +#endif +#include void ERR_load_crypto_strings(void) { +#ifdef OPENSSL_FIPS + FIPS_set_error_callbacks(ERR_put_error, ERR_add_error_vdata); +#endif #ifndef OPENSSL_NO_ERR ERR_load_ERR_strings(); /* include error strings for SYSerr */ ERR_load_BN_strings(); @@ -147,9 +157,15 @@ void ERR_load_crypto_strings(void) #endif ERR_load_OCSP_strings(); ERR_load_UI_strings(); +#ifdef OPENSSL_FIPS + ERR_load_FIPS_strings(); +#endif #ifndef OPENSSL_NO_CMS ERR_load_CMS_strings(); #endif +#ifndef OPENSSL_NO_JPAKE ERR_load_JPAKE_strings(); +#endif + ERR_load_COMP_strings(); #endif }