mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
Improve upon the prior opie handling and use the port on FreeBSD 14. For the FreeBSD 13 base OpenSSL 1.x version, allow it by patching socket.c, and also simplify the EVP_MD* API update check which will go upstream. PR: 282413 Approved by: Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
18 lines
637 B
C
18 lines
637 B
C
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
|