Author: j16sdiz
Date: 2008-07-10 01:04:31 +0000 (Thu, 10 Jul 2008)
New Revision: 21012

Modified:
   
branches/saltedhashstore/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
Log:
doh! wrong key

Modified: 
branches/saltedhashstore/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
===================================================================
--- 
branches/saltedhashstore/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
   2008-07-09 08:44:20 UTC (rev 21011)
+++ 
branches/saltedhashstore/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
   2008-07-10 01:04:31 UTC (rev 21012)
@@ -575,7 +575,7 @@
                        return entry; // don't read free entry

                if (routingKey != null) {
-                       if (!Arrays.equals(routingKey, 
entry.digestedRoutingKey))
+                       if 
(!Arrays.equals(cipherManager.getDigestedKey(routingKey), 
entry.digestedRoutingKey))
                                return null;

                        if (withData) {


Reply via email to