Updated for xmlsec 1.0.3
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 17 Jun 2002 02:33:13 +0000 (02:33 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 17 Jun 2002 02:33:13 +0000 (02:33 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@127 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/common/SiteSigner.java

index 57f7fa4..f8d9245 100644 (file)
@@ -156,8 +156,7 @@ public class SiteSigner
             out = System.out;
 
         Canonicalizer c = Canonicalizer.getInstance(Canonicalizer.ALGO_ID_C14N_WITH_COMMENTS);
-        c.setNamespaceAware(true);
-        out.write(c.canonicalize(doc));
+        out.write(c.canonicalizeSubtree(doc));
 
         if (outfile != null && outfile.length() > 0)
             out.close();