summaryrefslogtreecommitdiffstats
path: root/fips/fips_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'fips/fips_locl.h')
-rw-r--r--fips/fips_locl.h11
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