diff options
author | Felix Palmen <zirias@FreeBSD.org> | 2022-10-17 11:39:08 +0000 |
---|---|---|
committer | Felix Palmen <zirias@FreeBSD.org> | 2022-11-04 11:23:40 +0000 |
commit | 61d86b17dc17566372dc8666f23dddc18679c3b1 (patch) | |
tree | e890591a353cbd6bb427c9a3d3558fea4475d7c8 /security/xmlsec1 | |
parent | 14ff8de7061e894a5ee46ad2091be5cd04f548b9 (diff) | |
download | ports-61d86b17dc17566372dc8666f23dddc18679c3b1.tar.gz ports-61d86b17dc17566372dc8666f23dddc18679c3b1.zip |
security/xmlsec1: Fix build with libressl 3.5
Approved by: hrs (maintainer, timeout), tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D37051
Diffstat (limited to 'security/xmlsec1')
-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 - * - *****************************************************************************/ |