mingw-openssl/openssl-1.1.1-no-dladdr.patch
2021-06-01 09:03:00 +01:00

30 lines
627 B
Diff

--- openssl-1.1.1k.old/crypto/fips/fips.c 2021-06-01 08:55:05.727572580 +0100
+++ openssl-1.1.1k/crypto/fips/fips.c 2021-06-01 08:57:13.303122104 +0100
@@ -165,6 +165,8 @@
return fips_post;
}
+#ifndef __MINGW32__
+
/* we implement what libfipscheck does ourselves */
static int
@@ -193,6 +195,17 @@
return rv;
}
+#else /* __MINGW32__ */
+
+static int
+get_library_path(const char *libname, const char *symbolname, char *path,
+ size_t pathlen)
+{
+ return -1;
+}
+
+#endif /* __MINGW32__ */
+
static const char conv[] = "0123456789abcdef";
static char *bin2hex(void *buf, size_t len)