summaryrefslogtreecommitdiff
path: root/.packit.yml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-12-09 09:54:02 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-12-09 10:27:18 +0100
commitacfdfb8620c17beb871c6fc135b047fd9dbcb7fe (patch)
tree16d25ee8eeb8afbf260fc7c1808329ff2f760d7e /.packit.yml
parentab8a8a4e7721270196f9c7984223fcff41754780 (diff)
downloadsystemd-acfdfb8620c17beb871c6fc135b047fd9dbcb7fe.tar.gz
openssl: supress warnings about functions deprecated by openssl 3.0
We get warnings for RSA_free(), EC_KEY_free(), EC_KEY_new(), etc. Those functions are now deprecated and we're supposed to use the new "EVP API" that is all the rage in openssl 3.0. With some effort I converted dnssec_rsa_verify_raw() to use the new API. The code is significantly longer and, if anything, less readable. The EC code is more complicated and I assume that the EVP API version will be even more complex. It is possiblet that I'm missing some way to call the new functions in a better way, but the documentation is abysmal, so it's really hard to figure out the best way. Of course there are almost no examples, and the ones that are there are not terribly useful and are also stubs that don't do interesting things, don't implement error handling, or memory cleanup. I'll submit my conversion draft as a separate PR. Maybe somebody who knows openssl better will pick it up and write a proper solution. For now, let's just use the existing code, but suppress the warnings. The new version just came out, so it's unlikely that the deprecated functions will be removed any time soon. Fixes #21666.
Diffstat (limited to '.packit.yml')
0 files changed, 0 insertions, 0 deletions