Author: nextgens
Date: 2008-01-27 14:06:47 +0000 (Sun, 27 Jan 2008)
New Revision: 17322

Modified:
   trunk/freenet/src/freenet/keys/InsertableClientSSK.java
Log:
commit the file I forgot

Modified: trunk/freenet/src/freenet/keys/InsertableClientSSK.java
===================================================================
--- trunk/freenet/src/freenet/keys/InsertableClientSSK.java     2008-01-27 
13:59:36 UTC (rev 17321)
+++ trunk/freenet/src/freenet/keys/InsertableClientSSK.java     2008-01-27 
14:06:47 UTC (rev 17322)
@@ -67,7 +67,7 @@
                if((uri.getDocName() == null) || (uri.getDocName().length() == 
0))
                        throw new MalformedURLException("SSK URIs must have a 
document name (to avoid ambiguity)");
                DSAGroup g = Global.DSAgroupBigA;
-               DSAPrivateKey privKey = new DSAPrivateKey(new 
NativeBigInteger(1, uri.getRoutingKey()));
+               DSAPrivateKey privKey = new DSAPrivateKey(new 
NativeBigInteger(1, uri.getRoutingKey()), g);
                DSAPublicKey pubKey = new DSAPublicKey(g, privKey);
                byte[] pkHash = pubKey.asBytesHash();
                return new InsertableClientSSK(uri.getDocName(), pkHash, 
pubKey, privKey, uri.getCryptoKey(), keyType);


Reply via email to