mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-20 19:37:51 +08:00
40d7ccf880
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
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)) {
|