Author: j16sdiz
Date: 2008-11-21 03:47:04 +0000 (Fri, 21 Nov 2008)
New Revision: 23774
Modified:
trunk/freenet/src/freenet/crypt/Yarrow.java
Log:
use default constructor for unit test
Modified: trunk/freenet/src/freenet/crypt/Yarrow.java
===================================================================
--- trunk/freenet/src/freenet/crypt/Yarrow.java 2008-11-21 02:20:31 UTC (rev
23773)
+++ trunk/freenet/src/freenet/crypt/Yarrow.java 2008-11-21 03:47:04 UTC (rev
23774)
@@ -76,7 +76,8 @@
this(seed, digest, cipher, updateSeed, canBlock, true);
}
- public Yarrow(File seed, String digest, String cipher, boolean
updateSeed, boolean canBlock, boolean reseedOnStartup) {
+ // unset reseedOnStartup only in unit test
+ Yarrow(File seed, String digest, String cipher, boolean updateSeed,
boolean canBlock, boolean reseedOnStartup) {
SecureRandom s;
try {
s = SecureRandom.getInstance("SHA1PRNG");
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs