* Matthew Toseland <toad at amphibian.dyndns.org> [2008-04-14 22:31:50]:

> On Monday 14 April 2008 03:44, nextgens at freenetproject.org wrote:
> > Author: nextgens
> > Date: 2008-04-14 02:44:11 +0000 (Mon, 14 Apr 2008)
> > New Revision: 19291
> > 
> > Modified:
> >    trunk/freenet/src/freenet/keys/FreenetURI.java
> > Log:
> > doh... even though it doesn't matter yet it might with other keytypes
> > 
> > Modified: trunk/freenet/src/freenet/keys/FreenetURI.java
> > ===================================================================
> > --- trunk/freenet/src/freenet/keys/FreenetURI.java  2008-04-14 02:42:33 UTC 
> (rev 19290)
> > +++ trunk/freenet/src/freenet/keys/FreenetURI.java  2008-04-14 02:44:11 UTC 
> (rev 19291)
> > @@ -643,10 +643,8 @@
> >                     dis.readFully(cryptoKey);
> >                     // Number of bytes of extra depends on key type
> >                     int extraLen;
> > -                   if(type == CHK)
> > +                   if((type == CHK) || (type == SSK))
> >                             extraLen = ClientCHK.EXTRA_LENGTH;
> > -                   else //if(type == SSK)
> > -                           extraLen = ClientSSK.EXTRA_LENGTH;
> 
> Eh?!?!?!?!
> 
> What are you doing here, apart from breaking FreenetURI?

Dunno what I had in mind, see r19344

> Obviously an SSK 
> needs ClientSSK.EXTRA_LENGTH and a CHK needs ClientCHK.EXTRA_LENGTH ... ???

They happen to be the same; it had no practical effect
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080415/47ee1592/attachment.pgp>

Reply via email to