Author: toad
Date: 2008-08-01 16:29:36 +0000 (Fri, 01 Aug 2008)
New Revision: 21558

Modified:
   branches/db4o/freenet/src/freenet/keys/ClientSSK.java
Log:
Copy the pubkey

Modified: branches/db4o/freenet/src/freenet/keys/ClientSSK.java
===================================================================
--- branches/db4o/freenet/src/freenet/keys/ClientSSK.java       2008-08-01 
15:33:19 UTC (rev 21557)
+++ branches/db4o/freenet/src/freenet/keys/ClientSSK.java       2008-08-01 
16:29:36 UTC (rev 21558)
@@ -36,7 +36,7 @@
        private ClientSSK(ClientSSK key) {
                this.cryptoAlgorithm = key.cryptoAlgorithm;
                this.docName = new String(key.docName);
-               if(pubKey != null)
+               if(key.pubKey != null)
                        this.pubKey = key.pubKey.cloneKey();
                else
                        this.pubKey = null;


Reply via email to