You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2017/11/14 17:41:28 UTC

svn commit: r1815237 - /webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java

Author: coheigea
Date: Tue Nov 14 17:41:28 2017
New Revision: 1815237

URL: http://svn.apache.org/viewvc?rev=1815237&view=rev
Log:
Fixing merge

Modified:
    webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java

Modified: webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java?rev=1815237&r1=1815236&r2=1815237&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java Tue Nov 14 17:41:28 2017
@@ -723,7 +723,7 @@ public class WSSecSignature extends WSSe
      * Call this method after <code>prepare()</code>
      */
     public Element getKeyInfoElement() throws WSSecurityException {
-        Element parent = getDocument().createElement("temp");
+        Element parent = document.createElement("temp");
         DOMCryptoContext cryptoContext = new DOMCryptoContext() { };
         cryptoContext.putNamespacePrefix(WSConstants.SIG_NS, WSConstants.SIG_PREFIX);
         try {