git: 61d86b17dc17 - main - security/xmlsec1: Fix build with libressl 3.5

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Fri, 04 Nov 2022 11:24:01 UTC
The branch main has been updated by zirias:

URL: https://cgit.FreeBSD.org/ports/commit/?id=61d86b17dc17566372dc8666f23dddc18679c3b1

commit 61d86b17dc17566372dc8666f23dddc18679c3b1
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2022-10-17 11:39:08 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2022-11-04 11:23:40 +0000

    security/xmlsec1: Fix build with libressl 3.5
    
    Approved by:            hrs (maintainer, timeout), tcberner (mentor)
    Differential Revision:  https://reviews.freebsd.org/D37051
---
 .../files/patch-src_openssl_openssl__compat.h      | 24 ----------------------
 1 file changed, 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
-  *
-  *****************************************************************************/