git: 6a6940d043fc - main - audio/mumble: Fix build with OpenSSL 3 and later

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 10 Jun 2023 17:14:17 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6a6940d043fcd55215f6d662982ea3e8b72bef39

commit 6a6940d043fcd55215f6d662982ea3e8b72bef39
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-10 13:04:06 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-10 17:14:07 +0000

    audio/mumble: Fix build with OpenSSL 3 and later
    
    Approved by:    portmgr (blanket)
---
 audio/mumble/files/patch-src_SelfSignedCertificate.cpp | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/audio/mumble/files/patch-src_SelfSignedCertificate.cpp b/audio/mumble/files/patch-src_SelfSignedCertificate.cpp
new file mode 100644
index 000000000000..354788be773f
--- /dev/null
+++ b/audio/mumble/files/patch-src_SelfSignedCertificate.cpp
@@ -0,0 +1,15 @@
+--- src/SelfSignedCertificate.cpp.orig	2023-06-10 11:50:34 UTC
++++ src/SelfSignedCertificate.cpp
+@@ -45,10 +45,12 @@ bool SelfSignedCertificate::generate(CertificateType c
+ 	QString commonName;
+ 	bool isServerCert = certificateType == CertificateTypeServerCertificate;
+ 
++#ifdef CRYPTO_MEM_CHECK_ON
+ 	if (CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON) == -1) {
+ 		ok = false;
+ 		goto out;
+ 	}
++#endif
+ 
+ 	x509 = X509_new();
+ 	if (x509 == NULL) {