mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 15:09:01 +08:00
14 lines
438 B
Diff
14 lines
438 B
Diff
|
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)) {
|