Bug#995637: boinc: FTBFS with OpenSSL 3.0
Kurt Roeckx
kurt at roeckx.be
Sun Oct 3 14:10:13 BST 2021
Source: boinc
Version: 7.16.17+dfsg-2
Severity: important
Tags: bookworm sid
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: ftbfs-3.0
Hi,
Your package is failing to build using OpenSSL 3.0 with the
following error:
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/ssl.h:31,
from crypt.cpp:36:
/usr/include/openssl/evp.h:1346:22: note: declared here
1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
| ^~~~~~~~~~~~~~~~~
crypt.cpp:676:32: error: invalid conversion from const rsa_st* to RSA* {aka rsa_st*} [-fpermissive]
676 | rsa = EVP_PKEY_get0_RSA(pubKey);
| ~~~~~~~~~~~~~~~~~^~~~~~~~
| |
| const rsa_st*
The return value of EVP_PKEY_get0_RSA() has been made const in
OpenSSL 3.0, so you need to change "rsa" to "const RSA *".
Note that there are also various other warnings about
deprecated functions. For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html
Kurt
More information about the pkg-boinc-devel
mailing list