Author: nextgens
Date: 2007-09-09 23:27:53 +0000 (Sun, 09 Sep 2007)
New Revision: 15101

Modified:
   branches/freenet-jfk/src/freenet/node/FNPPacketMangler.java
Log:
doh :$

Modified: branches/freenet-jfk/src/freenet/node/FNPPacketMangler.java
===================================================================
--- branches/freenet-jfk/src/freenet/node/FNPPacketMangler.java 2007-09-09 
23:19:25 UTC (rev 15100)
+++ branches/freenet-jfk/src/freenet/node/FNPPacketMangler.java 2007-09-09 
23:27:53 UTC (rev 15101)
@@ -519,7 +519,7 @@

                // get g^i
                byte[] hisExponential = new 
byte[DiffieHellman.modulusLengthInBytes()];
-               System.arraycopy(payload, 0, hisExponential, NONCE_SIZE, 
DiffieHellman.modulusLengthInBytes());
+               System.arraycopy(payload, NONCE_SIZE, hisExponential, 0, 
DiffieHellman.modulusLengthInBytes());

                NativeBigInteger _hisExponential = new NativeBigInteger(1, 
hisExponential);
                if(_hisExponential.compareTo(NativeBigInteger.ONE) > 0)


Reply via email to