diff options
author | Felix Palmen <zirias@FreeBSD.org> | 2022-10-17 11:39:08 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2022-11-04 15:09:48 +0000 |
commit | 51fc68a55b85d52e6eac12f47602ad03fe9a1a54 (patch) | |
tree | 770c4ea005d25d1ae7515e4f0cf225c60a62de5c | |
parent | 3573adac89f2d4f479856995afa435f2c205d19c (diff) | |
download | ports-51fc68a55b85d52e6eac12f47602ad03fe9a1a54.tar.gz ports-51fc68a55b85d52e6eac12f47602ad03fe9a1a54.zip |
security/xmlsec1: Fix build with libressl 3.5
Approved by: hrs (maintainer, timeout), tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D37051
(cherry picked from commit 61d86b17dc17566372dc8666f23dddc18679c3b1)
-rw-r--r-- | security/xmlsec1/files/patch-src_openssl_openssl__compat.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/security/xmlsec1/files/patch-src_openssl_openssl__compat.h b/security/xmlsec1/files/patch-src_openssl_openssl__compat.h deleted file mode 100644 index 21eed249a79a..000000000000 --- a/security/xmlsec1/files/patch-src_openssl_openssl__compat.h +++ /dev/null @@ -1,24 +0,0 @@ ---- src/openssl/openssl_compat.h.orig 2022-05-03 14:36:17 UTC -+++ src/openssl/openssl_compat.h -@@ -51,6 +51,21 @@ - - /****************************************************************************** - * -+ * LibreSSL 2.7+ compatibility (implements most of OpenSSL 1.1 API) -+ * -+ *****************************************************************************/ -+#if defined(XMLSEC_OPENSSL_API_110) && defined(LIBRESSL_VERSION_NUMBER) -+/* EVP_CIPHER_CTX stuff */ -+#define EVP_CIPHER_CTX_encrypting(x) ((x)->encrypt) -+ -+/* X509 stuff */ -+#define X509_STORE_CTX_get_by_subject X509_STORE_get_by_subject -+#define X509_OBJECT_new() (calloc(1, sizeof(X509_OBJECT))) -+#define X509_OBJECT_free(x) { X509_OBJECT_free_contents(x); free(x); } -+#endif -+ -+/****************************************************************************** -+ * - * boringssl compatibility - * - *****************************************************************************/ |