Fernando Hueso pushed to branch master at Debian Med / civetweb


Commits:
5a56e5a3 by Fernando Hueso at 2026-09-17T11:20:10+00:00
Prospective patch to fix compilation with openssl4

by Matthias Ellert
- - - - -


1 changed file:

- + debian/patches/openssl4.patch


Changes:

=====================================
debian/patches/openssl4.patch
=====================================
@@ -0,0 +1,29 @@
+Description: Fix compilation with openssl 4
+Origin: https://github.com/civetweb/civetweb/pull/1423
+Last-Update: 2026-08-20
+
+From b3449269bbf13852824d19f164d00810432649d0 Mon Sep 17 00:00:00 2001
+From: Mattias Ellert <[email protected]>
+Date: Thu, 20 Aug 2026 21:04:22 +0200
+Subject: [PATCH] Fix compilation with openssl 4
+
+X509_get_subject_name() and X509_get_issuer_name() now return const.
+---
+ src/civetweb.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/civetweb.c b/src/civetweb.c
+index f6a60e214..e093e094e 100644
+--- a/src/civetweb.c
++++ b/src/civetweb.c
+@@ -17125,8 +17125,8 @@ ssl_get_client_cert_info(const struct mg_connection 
*conn,
+               const EVP_MD *digest = EVP_get_digestbyname("sha1");
+ 
+               /* Get Subject and issuer */
+-              X509_NAME *subj = X509_get_subject_name(cert);
+-              X509_NAME *iss = X509_get_issuer_name(cert);
++              const X509_NAME *subj = X509_get_subject_name(cert);
++              const X509_NAME *iss = X509_get_issuer_name(cert);
+ 
+               /* Get serial number */
+               ASN1_INTEGER *serial = X509_get_serialNumber(cert);



View it on GitLab: 
https://salsa.debian.org/med-team/civetweb/-/commit/5a56e5a30a1a6d75f84a18481fb7b908aeee8a04

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/civetweb/-/commit/5a56e5a30a1a6d75f84a18481fb7b908aeee8a04
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to