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);