[java-opensaml] branch main updated: Make type explicit for compatibility with Santuario 2.2.0

Ian Young ian at iay.org.uk
Wed Nov 11 12:05:38 UTC 2020


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=412aeffb77f387c8367eed1b778632d0158b4ed8

The following commit(s) were added to refs/heads/main by this push:
       new  412aeffb7 Make type explicit for compatibility with Santuario 2.2.0
412aeffb7 is described below

commit 412aeffb77f387c8367eed1b778632d0158b4ed8
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Wed Nov 11 12:05:24 2020 +0000

    Make type explicit for compatibility with Santuario 2.2.0
---
 .../src/main/java/org/opensaml/xmlsec/encryption/support/Encrypter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Encrypter.java b/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Encrypter.java
index dc917d05a..094d580ae 100644
--- a/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Encrypter.java
+++ b/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Encrypter.java
@@ -398,7 +398,7 @@ public class Encrypter {
             if (AlgorithmSupport.isRSAOAEP(encryptionAlgorithmURI) && rsaOAEPParams != null 
                     && rsaOAEPParams.getDigestMethod() != null) {
                 xmlCipher = XMLCipher.getProviderInstance(encryptionAlgorithmURI, getJCAProviderName(), 
-                        null, rsaOAEPParams.getDigestMethod());
+                        (String)null, rsaOAEPParams.getDigestMethod());
             } else {
                 xmlCipher = XMLCipher.getProviderInstance(encryptionAlgorithmURI, getJCAProviderName());
             }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list