cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1409768 - /cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java
Date Thu, 15 Nov 2012 13:23:01 GMT
Author: ay
Date: Thu Nov 15 13:23:00 2012
New Revision: 1409768

URL: http://svn.apache.org/viewvc?rev=1409768&view=rev
Log:
use cipher RC4 for CXF-4596 test

Modified:
    cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java

Modified: cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java?rev=1409768&r1=1409767&r2=1409768&view=diff
==============================================================================
--- cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java (original)
+++ cxf/trunk/api/src/test/java/org/apache/cxf/io/CachedOutputStreamTest.java Thu Nov 15 13:23:00
2012
@@ -61,7 +61,7 @@ public class CachedOutputStreamTest exte
         CachedOutputStream cos = new CachedOutputStream();
         cos.setThreshold(4);
         // need a 8-bit cipher so that all bytes are flushed when the stream is flushed.
-        cos.setCipherTransformation("DES/CFB8/NoPadding");
+        cos.setCipherTransformation("RC4");
         
         final String text = "Hello Secret World!";
         cos.write(text.getBytes("UTF-8"));
@@ -91,7 +91,7 @@ public class CachedOutputStreamTest exte
         CachedOutputStream cos = new CachedOutputStream();
         cos.setThreshold(4);
         // need a 8-bit cipher so that all bytes are flushed when the stream is flushed.
-        cos.setCipherTransformation("DES/CFB8/NoPadding");
+        cos.setCipherTransformation("RC4");
         
         final String text = "Hello Secret World!";
         cos.write(text.getBytes("UTF-8"));



Mime
View raw message