Package: eiskaltdcpp Followup-For: Bug #1138358 X-Debbugs-Cc: [email protected] Control: tags -1 patch ftbfs
Dear Maintainer, The patch fixes the build issue. -- System Information: Debian Release: trixie/sid APT prefers noble-updates APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.8.0-117-generic (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
Description: Fix OpenSSL 4.0 compatibility Use const for X509_get_subject_name(), X509_NAME_get_entry(), and X509_NAME_ENTRY_get_data() return values. Author: Ravi Kant Sharma <[email protected]> Forwarded: https://github.com/eiskaltdcpp/eiskaltdcpp/pull/548 Bug-Ubuntu: https://bugs.launchpad.net/bugs/2154906 Bug-Debian: https://bugs.debian.org/2154906 Last-Update: 2026-07-03 Index: eiskaltdcpp/dcpp/CryptoManager.cpp =================================================================== --- eiskaltdcpp.orig/dcpp/CryptoManager.cpp 2026-07-03 16:49:19.077481023 +0200 +++ eiskaltdcpp/dcpp/CryptoManager.cpp 2026-07-03 16:57:56.686213101 +0200 @@ -331,7 +331,7 @@ return false; } - X509_NAME* name = X509_get_subject_name(x509); + const X509_NAME* name = X509_get_subject_name(x509); if(!name) { return false; } @@ -339,8 +339,8 @@ if(i == -1) { return false; } - X509_NAME_ENTRY* entry = X509_NAME_get_entry(name, i); - ASN1_STRING* str = X509_NAME_ENTRY_get_data(entry); + const X509_NAME_ENTRY* entry = X509_NAME_get_entry(name, i); + const ASN1_STRING* str = X509_NAME_ENTRY_get_data(entry); if(!str) { return false; }

