aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-02-16 14:40:06 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-02-16 14:40:06 +0000
commitd749e1080a4ec0ae6af5edc4851379fbc2a5ebca (patch)
tree44e436481d60d2cdcfe54e141d554c5302ccc6c2 /crypto/crypto.h
parent0fbf8f447b6063b2023ddbf8e8caa57a29aa368a (diff)
downloadopenssl-d749e1080a4ec0ae6af5edc4851379fbc2a5ebca.tar.gz
Experimental symbol renaming to avoid clashes with regular OpenSSL.
Make sure crypto.h is included first in any affected files.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r--crypto/crypto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h
index 938c2bc144..443486d70e 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -143,6 +143,14 @@
one way or another */
#include <openssl/symhacks.h>
+/* For FIPS mode rename all OpenSSL symbols to avoid clashes with a
+ * non-FIPS OpenSSL.
+ */
+
+#if defined(OPENSSL_FIPSCANISTER) && defined(OPENSSL_FIPSSYMS)
+#include <openssl/fipssyms.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif