summaryrefslogtreecommitdiff
path: root/databases/mysql80-server/files/patch-mysys_my__md5.cc
blob: 56986ec7f9b0bee39050cb36cc36fd0a14c023b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- mysys/my_md5.cc.orig	2019-09-20 08:30:51 UTC
+++ mysys/my_md5.cc
@@ -56,7 +56,9 @@ static void my_md5_hash(unsigned char *digest, unsigne
 int compute_md5_hash(char *digest, const char *buf, int len) {
   int retval = 0;
   int fips_mode = 0;
+#ifndef LIBRESSL_VERSION_NUMBER
   fips_mode = FIPS_mode();
+#endif /* LIBRESSL_VERSION_NUMBER */
   /* If fips mode is ON/STRICT restricted method calls will result into abort,
    * skipping call. */
   if (fips_mode == 0) {