r26629 - trunk/freenet/src/freenet/crypt
| Newsgroups | gmane.network.freenet.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: j16sdiz
Date: 2009-04-08 00:23:47 +0000 (Wed, 08 Apr 2009)
New Revision: 26629
Modified:
trunk/freenet/src/freenet/crypt/Yarrow.java
Log:
doh!
Modified: trunk/freenet/src/freenet/crypt/Yarrow.java
===================================================================
--- trunk/freenet/src/freenet/crypt/Yarrow.java 2009-04-07 23:39:49 UTC (rev 26628)
+++ trunk/freenet/src/freenet/crypt/Yarrow.java 2009-04-08 00:23:47 UTC (rev 26629)
@@ -520,7 +520,7 @@
contributedEntropy = new int[] { actualEntropy };
entropySeen.put(source, contributedEntropy);
} else
- contributedEntropy[0]++;
+ contributedEntropy[0]+=actualEntropy;
if(slow_entropy >= (SLOW_THRESHOLD * 2)) {
int kc = 0;