From b98c56fd5e86fa76eb55a98a2266a923f64f705c Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 28 Feb 2023 01:51:41 -0600 Subject: stop exposing hidden defines in public opensslconf.h pull in hidden headers instead, patching drectly for Windows support --- patches/ssl_namespace.h.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/ssl_namespace.h.patch (limited to 'patches/ssl_namespace.h.patch') diff --git a/patches/ssl_namespace.h.patch b/patches/ssl_namespace.h.patch new file mode 100644 index 0000000..649e862 --- /dev/null +++ b/patches/ssl_namespace.h.patch @@ -0,0 +1,13 @@ +--- ssl/hidden/ssl_namespace.h.orig 2023-02-28 00:42:20.928756042 -0600 ++++ ssl/hidden/ssl_namespace.h 2023-02-28 00:43:16.372755180 -0600 +@@ -18,6 +18,10 @@ + #ifndef _LIBSSL_SSL_NAMESPACE_H_ + #define _LIBSSL_SSL_NAMESPACE_H_ + ++#if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__) ++#define __attribute__(a) ++#endif ++ + /* + * If marked as 'used', then internal calls use the name with prefix "_lssl_" + * and we alias that to the normal name. -- cgit v1.2.3-55-g6feb