summaryrefslogtreecommitdiff
path: root/databases/mysql80-server/files/patch-mysys__ssl_my__md5.cc
blob: bed3c7d521e68ac2c90b63d7efd058b1059a5f35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- mysys/my_md5.cc.orig	2018-04-08 06:44:49 UTC
+++ mysys/my_md5.cc
@@ -56,7 +56,7 @@ static void my_md5_hash(unsigned char *d
 int compute_md5_hash(char *digest, const char *buf, int len) {
   int retval = 0;
   int fips_mode = 0;
-#if !defined(HAVE_WOLFSSL)
+#if !defined(HAVE_WOLFSSL) && !defined(LIBRESSL_VERSION_NUMBER)
   fips_mode = FIPS_mode();
 #endif /* HAVE_WOLFSSL */
   /* If fips mode is ON/STRICT restricted method calls will result into abort,