Update of /cvsroot/freenet/freenet/src/freenet/interfaces/servlet
In directory sc8-pr-cvs1:/tmp/cvs-serv5586/src/freenet/interfaces/servlet
Modified Files:
ServletContainer.java
Log Message:
Work around problem with ThrottleAsyncEntropyYarrow/Yarrow initialization order.
Made randSource in Core private and started exposing it though a getter instead of
directly.
Index: ServletContainer.java
===================================================================
RCS file:
/cvsroot/freenet/freenet/src/freenet/interfaces/servlet/ServletContainer.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -w -r1.17 -r1.18
--- ServletContainer.java 28 Sep 2003 15:34:45 -0000 1.17
+++ ServletContainer.java 27 Oct 2003 14:45:19 -0000 1.18
@@ -146,7 +146,7 @@
context.setAttribute("freenet.support.BucketFactory", node.bf);
}
context.setAttribute("freenet.client.ClientFactory", factory);
- context.setAttribute("freenet.crypt.RandomSource", Core.randSource);
+ context.setAttribute("freenet.crypt.RandomSource", Core.getRandSource());
context.setAttribute("freenet.serviceName", getServiceName());
Core.logger.log(ServletContainer.class,
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs