Package: ausweisapp2
Followup-For: Bug #1137473
X-Debbugs-Cc: [email protected]
Control: tags -1 patch ftbfs

Dear Maintainer,

The attached patch along with the follofing change in the rules file fixes the 
build error.

+override_dh_auto_configure:
+       dh_auto_configure -- -DUSE_LEGACY_OPENSSL_API=ON
+

Regards
Ravi
Subject: Fix FTBFS with OpenSSL 4
Description: 
Upstream suggested we carry this change until 2.6.0 is released.

Author: Ravi Kant Sharma <[email protected]>
Last-Update: 2026-08-20

Bug-Ubuntu: https://bugs.launchpad.net/bugs/2154827
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1137473

diff --git a/cmake/tests/openssl.cpp b/cmake/tests/openssl.cpp
index cccccdfe..0fc65c2a 100644
--- a/cmake/tests/openssl.cpp
+++ b/cmake/tests/openssl.cpp
@@ -26,9 +26,7 @@
        #error RSA-PSK is required.
 #endif
 
-#ifdef OPENSSL_NO_EC_EXPLICIT_CURVES
-       #error Enable "ec_explicit_curves" in OpenSSL or use 
-DUSE_LEGACY_OPENSSL_API=ON if possible.
-#endif
+// OPENSSL_NO_EC_EXPLICIT_CURVES check removed for OpenSSL 4.0 compatibility
 
 int main(int argc, char** argv)
 {

Reply via email to