summaryrefslogtreecommitdiff
path: root/mail/fetchmail/files/patch-tls-aux.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/fetchmail/files/patch-tls-aux.h')
-rw-r--r--mail/fetchmail/files/patch-tls-aux.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/fetchmail/files/patch-tls-aux.h b/mail/fetchmail/files/patch-tls-aux.h
new file mode 100644
index 000000000000..54f9ba55daa6
--- /dev/null
+++ b/mail/fetchmail/files/patch-tls-aux.h
@@ -0,0 +1,18 @@
+Cherry-pick from upstream 8f00c607, see
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282413#c4
+
+--- tls-aux.h.orig 2024-08-18 17:42:19 UTC
++++ tls-aux.h
+@@ -18,12 +18,6 @@
+ # ifdef LIBWOLFSSL_VERSION_HEX
+ # define USING_WOLFSSL 1
+ # define OSSL110_API 1
+-# ifndef OPENSSL_COMPATIBLE_DEFAULTS
+-# error "wolfSSL was compiled without -DOPENSSL_COMPATIBLE_DEFAULTS. Recompile and reinstall wolfSSL!"
+-# endif
+-# ifndef HAVE_EX_DATA
+-# error "wolfSSL was configured without --enable-context-extra-user-data. Recompile and reinstall wolfSSL!"
+-# endif
+ # else
+ # if OPENSSL_VERSION_NUMBER < 0x1010000fL
+ # undef OSSL110_API