> hi,
> 
> I attached a patch for SHA1PRNG.java, it still wasn't quite doing what it
> was supposed to.  Also, i think i forgot to mention that this was based on
> Classpath's (broken) code, so the copyright should probably be gpl'ed.

oops, i whiffed again...

in libraries/javalib/kaffe/security/provider/SHA1PRNG.java:
> @@ -112,6 +110,22 @@
>                                                        this.data,
>                                                        SEED_SIZE,

This is supposed to be zero.  So it should look like:

                                        System.arraycopy(this.seed,
                                                         0,
                                                         this.data,
                                                         0,
                                                         SEED_SIZE);

atleast, thats how i think its supposed to work.

thanks,

tim stack

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to