You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2001/12/01 08:39:50 UTC
cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator AuthenticatorBase.java
remm 01/11/30 23:39:50
Modified: catalina/src/share/org/apache/catalina/authenticator
AuthenticatorBase.java
Log:
- Set the value of the seed which has just been calclated.
Please review this patch, as I don't know all the implications !
Patch submitted by Ian West <ian at perth.wni.com>
Revision Changes Path
1.27 +5 -4 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java
Index: AuthenticatorBase.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- AuthenticatorBase.java 2001/11/09 19:38:25 1.26
+++ AuthenticatorBase.java 2001/12/01 07:39:50 1.27
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java,v 1.26 2001/11/09 19:38:25 remm Exp $
- * $Revision: 1.26 $
- * $Date: 2001/11/09 19:38:25 $
+ * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java,v 1.27 2001/12/01 07:39:50 remm Exp $
+ * $Revision: 1.27 $
+ * $Date: 2001/12/01 07:39:50 $
*
* ====================================================================
*
@@ -121,7 +121,7 @@
* requests. Requests of any other type will simply be passed through.
*
* @author Craig R. McClanahan
- * @version $Revision: 1.26 $ $Date: 2001/11/09 19:38:25 $
+ * @version $Revision: 1.27 $ $Date: 2001/12/01 07:39:50 $
*/
@@ -856,6 +856,7 @@
long update = ((byte) entropy[i]) << ((i % 8) * 8);
seed ^= update;
}
+ this.random.setSeed(seed);
} catch (Exception e) {
this.random = new java.util.Random();
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>