diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-16 14:40:06 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-16 14:40:06 +0000 |
commit | d749e1080a4ec0ae6af5edc4851379fbc2a5ebca (patch) | |
tree | 44e436481d60d2cdcfe54e141d554c5302ccc6c2 /crypto/crypto.h | |
parent | 0fbf8f447b6063b2023ddbf8e8caa57a29aa368a (diff) | |
download | openssl-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.h | 8 |
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 |