vcpkg/ports/boinc/001-add-openssl3-support.patch

14 lines
438 B
Diff
Raw Normal View History

diff --git a/lib/crypt.cpp b/lib/crypt.cpp
index 01249cfc340..9b1f69160b8 100644
--- a/lib/crypt.cpp
+++ b/lib/crypt.cpp
@@ -672,7 +672,7 @@ int check_validity_of_cert(
}
#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)) {