Source: hitch Version: 1.7.1-2 Severity: important Tags: bookworm sid User: pkg-openssl-de...@lists.alioth.debian.org Usertags: ftbfs-3.0
Hi, Your package is failing to build using OpenSSL 3.0 with the following error: hitch.c: In function init_dh: hitch.c:318:2: error: PEM_read_bio_DHparams is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 318 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /usr/include/openssl/ui.h:30, from /usr/include/openssl/engine.h:30, from hitch.c:42: /usr/include/openssl/pem.h:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ hitch.c:327:3: error: DH_free is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 327 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from hitch.c:40: /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ [...] Removing the -Werror will turn those errors in warnings and should allow building against and using OpenSSL 3.0. The functions are still available but marked for removal in some future version. Kurt