diff options
author | Richard Levitte <levitte@openssl.org> | 2004-04-16 09:50:49 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2004-04-16 09:50:49 +0000 |
commit | 0cd83fa5869a14362af2c782507a93f748185b4b (patch) | |
tree | 5acb6f586b3e24364ac3171c50a52a963ff0c97b | |
parent | 1d8f39c144d90b994558fe82c8839fa064a2d02c (diff) |
Wrap with a check for OPENSSL_FIPS. We need that to have mkdef.pl
work properly.
Add C++ protection.
-rw-r--r-- | fips/fips_locl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fips/fips_locl.h b/fips/fips_locl.h index 35adde09db..0b3fecb39d 100644 --- a/fips/fips_locl.h +++ b/fips/fips_locl.h @@ -47,6 +47,17 @@ * */ +#ifdef OPENSSL_FIPS + +#ifdef __cplusplus +extern "C" { +#endif + /* FIPS 140 allows MD5 to be used during certain parts of TLS */ void FIPS_allow_md5(int onoff); extern int FIPS_md5_allowed; + +#ifdef __cplusplus +} +#endif +#endif |