Author: toad
Date: 2009-04-04 00:17:33 +0000 (Sat, 04 Apr 2009)
New Revision: 26498
Modified:
trunk/freenet/src/freenet/keys/USK.java
Log:
copy the bytes, we do everywhere else
Modified: trunk/freenet/src/freenet/keys/USK.java
===================================================================
--- trunk/freenet/src/freenet/keys/USK.java 2009-04-04 00:15:00 UTC (rev
26497)
+++ trunk/freenet/src/freenet/keys/USK.java 2009-04-04 00:17:33 UTC (rev
26498)
@@ -88,7 +88,8 @@
}
public USK(USK usk) {
- this.pubKeyHash = usk.pubKeyHash;
+ this.pubKeyHash = new byte[usk.pubKeyHash.length];
+ System.arraycopy(usk.pubKeyHash, 0, pubKeyHash, 0,
usk.pubKeyHash.length);
this.cryptoAlgorithm = usk.cryptoAlgorithm;
this.cryptoKey = usk.cryptoKey;
this.siteName = usk.siteName;
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs