Commit 0cd83fa5 authored by Richard Levitte's avatar Richard Levitte
Browse files

Wrap with a check for OPENSSL_FIPS. We need that to have mkdef.pl

work properly.
Add C++ protection.
parent 1d8f39c1
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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