summaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2012-06-03 22:03:37 +0000
committerBen Laurie <ben@openssl.org>2012-06-03 22:03:37 +0000
commit68d2cf51bcfc1c2c1d0deec9be21c3d743737656 (patch)
tree7b8ed6018e595520ff18873c4fc267228b552f85 /crypto/err
parent19eedffcafe5e703f28e015bad417bc50266c19b (diff)
Reduce version skew: trivia (I hope).
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/err_all.c13
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
}