Author: toad
Date: 2006-11-28 01:22:50 +0000 (Tue, 28 Nov 2006)
New Revision: 11077

Modified:
   trunk/freenet/src/freenet/node/FNPPacketMangler.java
Log:
Comment, trivial tidyup, no functional changes

Modified: trunk/freenet/src/freenet/node/FNPPacketMangler.java
===================================================================
--- trunk/freenet/src/freenet/node/FNPPacketMangler.java        2006-11-28 
01:03:10 UTC (rev 11076)
+++ trunk/freenet/src/freenet/node/FNPPacketMangler.java        2006-11-28 
01:22:50 UTC (rev 11077)
@@ -686,7 +686,7 @@
         System.arraycopy(temp, 0, packetHash, 0, blockSize);

         // Check the hash
-        if(!java.util.Arrays.equals(packetHash, realHash)) {
+        if(!Arrays.equals(packetHash, realHash)) {
             if(logMINOR) Logger.minor(this, "Packet possibly from "+tracker+" 
hash does not match:\npacketHash="+
                     HexUtil.bytesToHex(packetHash)+"\n  
realHash="+HexUtil.bytesToHex(realHash)+" ("+(length-HASH_LENGTH)+" bytes 
payload)");
             return false;
@@ -1422,7 +1422,7 @@

         if(logMINOR) Logger.minor(this, "\nHash:      
"+HexUtil.bytesToHex(digestTemp));

-        // Put plaintext in output
+        // Put encrypted digest in output
         sessionCipher.encipher(digestTemp, digestTemp);

         // Now copy it back


Reply via email to