At least the following:
```
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c: In function
‘constructRSASigningKey’:
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c:197:5: error: ‘RSA_new’ is
deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
197 | RSA *rsa = RSA_new();
| ^~~
In file included from /home/pmatilai/repos/rpm/rpmio/digest_openssl.c:4:
/usr/include/openssl/rsa.h:201:28: note: declared here
201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
| ^~~~~~~
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c:200:5: error: ‘RSA_set0_key’ is
deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
200 | if (RSA_set0_key(rsa, key->n, key->e, NULL) <= 0)
| ^~
/usr/include/openssl/rsa.h:207:27: note: declared here
207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e,
BIGNUM *d);
| ^~~~~~~~~~~~
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c:210:5: error: ‘EVP_PKEY_assign’
is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
210 | if (!EVP_PKEY_assign_RSA(key->evp_pkey, rsa)) {
| ^~
In file included from /home/pmatilai/repos/rpm/rpmio/digest_openssl.c:3:
/usr/include/openssl/evp.h:1328:5: note: declared here
1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
| ^~~~~~~~~~~~~~~
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c:218:5: error: ‘RSA_free’ is
deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
218 | RSA_free(rsa);
| ^~~~~~~~
/usr/include/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c: In function
‘constructDSASigningKey’:
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c:406:5: error: ‘DSA_new’ is
deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
406 | DSA *dsa = DSA_new();
| ^~~
In file included from /home/pmatilai/repos/rpm/rpmio/digest_openssl.c:5:
/usr/include/openssl/dsa.h:125:28: note: declared here
125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
| ^~~~~~~
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c:409:5: error: ‘DSA_set0_pqg’ is
deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
409 | if (!DSA_set0_pqg(dsa, key->p, key->q, key->g)) {
| ^~
/usr/include/openssl/dsa.h:203:27: note: declared here
203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q,
BIGNUM *g);
| ^~~~~~~~~~~~
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c:414:5: error: ‘DSA_set0_key’ is
deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
414 | if (!DSA_set0_key(dsa, key->y, NULL)) {
| ^~
/usr/include/openssl/dsa.h:206:27: note: declared here
206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
| ^~~~~~~~~~~~
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c:424:9: error: ‘DSA_free’ is
deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
424 | DSA_free(dsa);
| ^~~~~~~~
/usr/include/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
| ^~~~~~~~
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c: In function ‘pgpFreeKeyDSA’:
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c:491:13: error: ‘DSA_free’ is
deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
491 | DSA_free(key->dsa_key);
| ^~~~~~~~
/usr/include/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
| ^~~~~~~~
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c: In function ‘pgpVerifySigDSA’:
/home/pmatilai/repos/rpm/rpmio/digest_openssl.c:618:5: error: ‘DSA_do_verify’
is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
618 | if (DSA_do_verify(hash, hashlen, sig->dsa_sig, key->dsa_key) == 1)
| ^~
/usr/include/openssl/dsa.h:115:27: note: declared here
115 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int
dgst_len,
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2294
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint