umurmur: fix compilation with OpenSSL 3.0
authorEneas U de Queiroz <redacted>
Thu, 9 Feb 2023 18:15:21 +0000 (15:15 -0300)
committerEneas U de Queiroz <redacted>
Thu, 16 Feb 2023 13:28:52 +0000 (10:28 -0300)
Remove a call to CRYPTO_mem_ctrl(), which is used only for debugging,

Signed-off-by: Eneas U de Queiroz <redacted>
net/umurmur/Makefile
net/umurmur/patches/010-umurmur-0.2.20-openssl3.patch [new file with mode: 0644]

index 5f5c3fae8cf18adc2126254dabe22ee7046f743b..30ed236548ae5e709762c7a128c9eaaa2ba080e0 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=umurmur
 PKG_VERSION:=0.2.20
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/umurmur/umurmur/tar.gz/$(PKG_VERSION)?
diff --git a/net/umurmur/patches/010-umurmur-0.2.20-openssl3.patch b/net/umurmur/patches/010-umurmur-0.2.20-openssl3.patch
new file mode 100644 (file)
index 0000000..c82541a
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/src/ssli_openssl.c
++++ b/src/ssli_openssl.c
+@@ -142,8 +142,6 @@ static EVP_PKEY *SSL_generate_cert_and_k
+       
+       Log_info("Generating new server certificate.");
+       
+-      CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
+-      
+       x509 = X509_new();
+       if (!x509)
+               goto err_out;
git clone https://git.99rst.org/PROJECT