ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1207900 - /webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/util/WSSecurityUtil.java
Date Tue, 29 Nov 2011 15:09:51 GMT
Author: coheigea
Date: Tue Nov 29 15:09:50 2011
New Revision: 1207900

URL: http://svn.apache.org/viewvc?rev=1207900&view=rev
Log:
Removing a call to setSeed on SecureRandom

Modified:
    webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/util/WSSecurityUtil.java

Modified: webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/util/WSSecurityUtil.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/util/WSSecurityUtil.java?rev=1207900&r1=1207899&r2=1207900&view=diff
==============================================================================
--- webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/util/WSSecurityUtil.java
(original)
+++ webservices/wss4j/branches/1_5_x-fixes/src/org/apache/ws/security/util/WSSecurityUtil.java
Tue Nov 29 15:09:50 2011
@@ -1190,7 +1190,6 @@ public class WSSecurityUtil {
         if (random == null || !algorithm.equals(randomAlgorithm)) {
             random = SecureRandom.getInstance(algorithm);
             randomAlgorithm = algorithm;
-            random.setSeed(System.currentTimeMillis());
         }
         return random;
     }



Mime
View raw message