You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by co...@apache.org on 2016/09/20 13:54:20 UTC

svn commit: r1761579 - /santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/signature/Reference.java

Author: coheigea
Date: Tue Sep 20 13:54:20 2016
New Revision: 1761579

URL: http://svn.apache.org/viewvc?rev=1761579&view=rev
Log:
This closes #6

Modified:
    santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/signature/Reference.java

Modified: santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/signature/Reference.java
URL: http://svn.apache.org/viewvc/santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/signature/Reference.java?rev=1761579&r1=1761578&r2=1761579&view=diff
==============================================================================
--- santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/signature/Reference.java (original)
+++ santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/signature/Reference.java Tue Sep 20 13:54:20 2016
@@ -770,8 +770,8 @@ public class Reference extends Signature
     private byte[] getPreCalculatedDigest(XMLSignatureInput input)
             throws ReferenceNotInitializedException {
         try {
-        log.debug("Verifying element with pre-calculated digest");
-        String preCalculatedDigest = input.getPreCalculatedDigest();
+            log.debug("Verifying element with pre-calculated digest");
+            String preCalculatedDigest = input.getPreCalculatedDigest();
             return Base64.decode(preCalculatedDigest);
         } catch (Base64DecodingException e) {
             log.error("Failed to decode pre-calculated digest in base64: " + e.getMessage());