2022-11-23 12:46:44 +01:00
|
|
|
--- include/openssl/opensslconf.h.orig Tue Nov 22 21:08:27 2022
|
|
|
|
+++ include/openssl/opensslconf.h Wed Nov 23 12:38:07 2022
|
|
|
|
@@ -1,6 +1,21 @@
|
|
|
|
#include <openssl/opensslfeatures.h>
|
|
|
|
/* crypto/opensslconf.h.in */
|
|
|
|
|
|
|
|
+#if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__)
|
|
|
|
+#define __attribute__(a)
|
|
|
|
+#endif
|
|
|
|
+
|
2022-11-23 18:36:19 +01:00
|
|
|
+#if defined(LIBRESSL_INTERNAL) && !defined(LIBRESSL_NAMESPACE)
|
2022-11-23 12:46:44 +01:00
|
|
|
+# define LCRYPTO_UNUSED(x)
|
|
|
|
+# define LCRYPTO_USED(x)
|
|
|
|
+# define LCRYPTO_ALIAS1(pre, x)
|
|
|
|
+# define LCRYPTO_ALIAS(x)
|
|
|
|
+
|
|
|
|
+# define LSSL_UNUSED(x)
|
|
|
|
+# define LSSL_USED(x)
|
|
|
|
+# define LSSL_ALIAS(x)
|
2022-11-23 18:36:19 +01:00
|
|
|
+#endif /* LIBRESSL_INTERNAL && !LIBRESSL_NAMESPACE */
|
2022-11-23 12:46:44 +01:00
|
|
|
+
|
|
|
|
#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
|
|
|
|
#define OPENSSLDIR "/etc/ssl"
|
|
|
|
#endif
|