ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1175904 - /webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/EncryptionTest.java
Date Mon, 26 Sep 2011 15:21:36 GMT
Author: coheigea
Date: Mon Sep 26 15:21:36 2011
New Revision: 1175904

URL: http://svn.apache.org/viewvc?rev=1175904&view=rev
Log:
Re-generate another symmetric key when re-using the same object for different algorithms

Modified:
    webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/EncryptionTest.java

Modified: webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/EncryptionTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/EncryptionTest.java?rev=1175904&r1=1175903&r2=1175904&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/EncryptionTest.java
(original)
+++ webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/EncryptionTest.java
Mon Sep 26 15:21:36 2011
@@ -126,6 +126,7 @@ public class EncryptionTest extends org.
          */
         builder.setKeyIdentifierType(WSConstants.ISSUER_SERIAL);
         builder.setSymmetricEncAlgorithm(WSConstants.AES_128);
+        builder.setSymmetricKey(null);
         java.util.List<WSEncryptionPart> parts = new ArrayList<WSEncryptionPart>();
         WSEncryptionPart encP = 
             new WSEncryptionPart(



Mime
View raw message