Source: cjose Version: 0.6.1+dfsg1-1 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: jwk.c: In function _cjose_jwk_rsa_get: jwk.c:58:5: error: RSA_get0_key is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 58 | RSA_get0_key(rsa, (const BIGNUM **)rsa_n, (const BIGNUM **)rsa_e, (const BIGNUM **)rsa_d); | ^~~~~~~~~~~~ In file included from ../include/cjose/util.h:21, from jwk.c:12: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ jwk.c: In function _cjose_jwk_rsa_set: jwk.c:82:5: error: RSA_set0_key is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 82 | return RSA_set0_key(rsa, rsa_n, rsa_e, rsa_d) == 1; | ^~~~~~ [...] The short term solution is to drop the -Werror. Longer term the functions need to get replaced with non-deprecated versions. For more information see: https://www.openssl.org/docs/man3.0/man7/migration_guide.html Kurt