* Matthew Toseland <[EMAIL PROTECTED]> [2008-04-14 22:31:50]:

> On Monday 14 April 2008 03:44, [EMAIL PROTECTED] 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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to