Package: i2pd Followup-For: Bug #1138467 X-Debbugs-Cc: [email protected] Control: tags -1 patch ftbfs
Dear Maintainer, The upstream 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-124-generic (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE 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
Origin: backport, https://github.com/PurpleI2P/i2pd/commit/524d80853d92d698de8b271e081e4d2ba1e30738 Bug-Ubuntu: https://launchpad.net/bugs/2155019 Bug-Debian: https://bugs.debian.org/1138467 Last-Update: 2026-08-07 --- a/daemon/I2PControl.cpp +++ b/daemon/I2PControl.cpp @@ -459,12 +459,13 @@ X509_gmtime_adj (X509_getm_notBefore (x509), 0); X509_gmtime_adj (X509_getm_notAfter (x509), I2P_CONTROL_CERTIFICATE_VALIDITY*24*60*60); // expiration X509_set_pubkey (x509, pkey); // public key - X509_NAME * name = X509_get_subject_name (x509); + X509_NAME * name = X509_NAME_dup (X509_get_subject_name (x509)); X509_NAME_add_entry_by_txt (name, "C", MBSTRING_ASC, (unsigned char *)"A1", -1, -1, 0); // country (Anonymous proxy) X509_NAME_add_entry_by_txt (name, "O", MBSTRING_ASC, (unsigned char *)I2P_CONTROL_CERTIFICATE_ORGANIZATION, -1, -1, 0); // organization X509_NAME_add_entry_by_txt (name, "CN", MBSTRING_ASC, (unsigned char *)I2P_CONTROL_CERTIFICATE_COMMON_NAME, -1, -1, 0); // common name X509_set_issuer_name (x509, name); // set issuer to ourselves X509_sign (x509, pkey, EVP_sha1 ()); // sign, last param must be NULL for EdDSA + X509_NAME_free (name); // save cert if ((f = fopen (crt_path, "wb")) != NULL)

