tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator AuthenticatorBase.java
Date Mon, 03 Dec 2001 19:53:49 GMT
remm        01/12/03 11:53:49

  Modified:    catalina/src/share/org/apache/catalina/authenticator Tag:
                        tomcat_40_branch AuthenticatorBase.java
  Log:
  - Port patch.
  - Set the seed after computing it.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.23.2.2  +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.23.2.1
  retrieving revision 1.23.2.2
  diff -u -r1.23.2.1 -r1.23.2.2
  --- AuthenticatorBase.java	2001/11/03 06:53:50	1.23.2.1
  +++ AuthenticatorBase.java	2001/12/03 19:53:49	1.23.2.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java,v
1.23.2.1 2001/11/03 06:53:50 remm Exp $
  - * $Revision: 1.23.2.1 $
  - * $Date: 2001/11/03 06:53:50 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java,v
1.23.2.2 2001/12/03 19:53:49 remm Exp $
  + * $Revision: 1.23.2.2 $
  + * $Date: 2001/12/03 19:53:49 $
    *
    * ====================================================================
    *
  @@ -121,7 +121,7 @@
    * requests.  Requests of any other type will simply be passed through.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.23.2.1 $ $Date: 2001/11/03 06:53:50 $
  + * @version $Revision: 1.23.2.2 $ $Date: 2001/12/03 19:53:49 $
    */
   
   
  @@ -848,6 +848,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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message