packages/net/umurmur/patches/010-umurmur-0.2.20-openssl3.patch
Eneas U de Queiroz 0877c11082 umurmur: fix compilation with OpenSSL 3.0
Remove a call to CRYPTO_mem_ctrl(), which is used only for debugging,

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2023-03-01 19:12:32 +08:00

12 lines
261 B
Diff

--- 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;