diff options
Diffstat (limited to 'crypto/err/err_all.c')
-rw-r--r-- | crypto/err/err_all.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c index bd8946d8ba..edafdc0c17 100644 --- a/crypto/err/err_all.c +++ b/crypto/err/err_all.c @@ -95,6 +95,9 @@ #include <openssl/ui.h> #include <openssl/ocsp.h> #include <openssl/err.h> +#ifdef OPENSSL_FIPS +#include <openssl/fips.h> +#endif #include <openssl/ts.h> #ifndef OPENSSL_NO_CMS #include <openssl/cms.h> @@ -104,10 +107,6 @@ #endif #include <openssl/comp.h> -#ifdef OPENSSL_FIPS -#include <openssl/fips.h> -#endif - void ERR_load_crypto_strings(void) { #ifndef OPENSSL_NO_ERR @@ -153,6 +152,9 @@ 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 @@ -161,7 +163,4 @@ void ERR_load_crypto_strings(void) #endif ERR_load_COMP_strings(); #endif -#ifdef OPENSSL_FIPS - ERR_load_FIPS_strings(); -#endif } |