[java-opensaml] 03/03: OSJ-270: KeyLengthCriterion not set in Decrypter

Brent Putman putmanb at georgetown.edu
Fri Mar 22 19:30:23 EDT 2019


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

putmanb pushed a commit to branch master
in repository java-opensaml.

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

commit 45680ce281fc0f4d46b1415f6cdb08dd07632723
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Fri Mar 22 19:12:42 2019 -0400

    OSJ-270: KeyLengthCriterion not set in Decrypter
---
 .../src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java b/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java
index 338a8c4..8bc18d3 100644
--- a/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java
+++ b/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java
@@ -927,7 +927,7 @@ public class Decrypter {
      * @return a new key length credential criteria instance, or null if the value could not be determined
      */
     @Nullable private KeyLengthCriterion buildKeyLengthCriteria(@Nullable final String encAlgorithmURI) {
-        if (!Strings.isNullOrEmpty(encAlgorithmURI)) {
+        if (Strings.isNullOrEmpty(encAlgorithmURI)) {
             return null;
         }
 

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


More information about the commits mailing list