commit | 616bb06d94abb4b1bea610d603ac923224325a4a | [log] [tgz] |
---|---|---|
author | Scott Cantor <scantor@apache.org> | Thu Oct 14 18:22:11 2021 +0000 |
committer | Scott Cantor <scantor@apache.org> | Thu Oct 14 18:22:11 2021 +0000 |
tree | 5ec1bd92bc36c216c936b05be5ae9eca433126e8 | |
parent | 3d9538ff2ef1a2cb56cce0bc0f16faa7cbcbedfd [diff] |
SANTUARIO-567 - xml-security-c build failure with openssl-3.0.0 https://issues.apache.org/jira/browse/SANTUARIO-567 git-svn-id: https://svn.apache.org/repos/asf/santuario/xml-security-cpp/trunk@1894259 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/xsec/enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp b/xsec/enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp index b59a923..52b93fe 100644 --- a/xsec/enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp +++ b/xsec/enc/OpenSSL/OpenSSLCryptoKeyRSA.cpp
@@ -413,7 +413,7 @@ if (k == NULL || EVP_PKEY_id(k) != EVP_PKEY_RSA) return; // Nothing to do with us - RSA *rsa = EVP_PKEY_get0_RSA(k); + const RSA *rsa = EVP_PKEY_get0_RSA(k); const BIGNUM *n=NULL, *e=NULL, *d=NULL; RSA_get0_key(rsa, &n, &e, &d);