Author: nextgens
Date: 2008-08-06 13:54:44 +0000 (Wed, 06 Aug 2008)
New Revision: 21632

Modified:
   trunk/freenet/src/freenet/node/FNPPacketMangler.java
Log:
trivial refactoring

Modified: trunk/freenet/src/freenet/node/FNPPacketMangler.java
===================================================================
--- trunk/freenet/src/freenet/node/FNPPacketMangler.java        2008-08-06 
13:53:08 UTC (rev 21631)
+++ trunk/freenet/src/freenet/node/FNPPacketMangler.java        2008-08-06 
13:54:44 UTC (rev 21632)
@@ -314,7 +314,7 @@
                        }
                }
                if(node.wantAnonAuth()) {
-                       if(tryProcessAuthAnon(buf, offset, length, peer, now)) 
return;
+                       if(tryProcessAuthAnon(buf, offset, length, peer)) 
return;
                }
                if(LOG_UNMATCHABLE_ERROR)
                        System.err.println("Unmatchable packet from "+peer+" on 
"+node.getDarknetPortNumber());
@@ -400,7 +400,7 @@
         * @param now The time at which the packet was received
         * @return True if we handled a negotiation packet, false otherwise.
         */
-       private boolean tryProcessAuthAnon(byte[] buf, int offset, int length, 
Peer peer, long now) {
+       private boolean tryProcessAuthAnon(byte[] buf, int offset, int length, 
Peer peer) {
                BlockCipher authKey = crypto.getAnonSetupCipher();
                // Does the packet match IV E( H(data) data ) ?
                PCFBMode pcfb = PCFBMode.create(authKey);


Reply via email to