Wrap with a check for OPENSSL_FIPS. We need that to have mkdef.pl
authorRichard Levitte <levitte@openssl.org>
Fri, 16 Apr 2004 09:50:49 +0000 (09:50 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 16 Apr 2004 09:50:49 +0000 (09:50 +0000)
work properly.
Add C++ protection.

fips/fips_locl.h

index 35adde09db67ce81f8e61bbae31525eb87052002..0b3fecb39d370d71c9d96228af9c309548ec00b6 100644 (file)
  *
  */
 
+#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