git: 51fc68a55b85 - 2022Q4 - security/xmlsec1: Fix build with libressl 3.5

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 04 Nov 2022 15:10:45 UTC
The branch 2022Q4 has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=51fc68a55b85d52e6eac12f47602ad03fe9a1a54

commit 51fc68a55b85d52e6eac12f47602ad03fe9a1a54
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2022-10-17 11:39:08 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-11-04 15:09:48 +0000

    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)
---
 .../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
-  *
-  *****************************************************************************/