diff -urNr boinc-client_release-7.18-7.18.1-orig/lib/crypt.cpp boinc-client_release-7.18-7.18.1/lib/crypt.cpp
--- boinc-client_release-7.18-7.18.1-orig/lib/crypt.cpp 2021-08-03 17:52:19.000000000 +0200
+++ boinc-client_release-7.18-7.18.1/lib/crypt.cpp 2022-04-09 22:36:47.909269113 +0200
@@ -672,7 +672,7 @@
}
#ifdef HAVE_OPAQUE_RSA_DSA_DH
RSA *rsa;
- rsa = EVP_PKEY_get0_RSA(pubKey);
+ rsa = (rsa_st*)EVP_PKEY_get0_RSA(pubKey);
if (!RSA_blinding_on(rsa, c)) {
#else
if (!RSA_blinding_on(pubKey->pkey.rsa, c)) {