> Today's regression test failure:
> 
> [EMAIL PROTECTED] cat test/regression/SecureRandomTest.fail
> java.lang.Error: The "secure" random isn't! : lpc=  0 lpc2 = 20 data = 
> 8bc7ec02ec7c04f87a13ec6120616ead831baeaf

I am afraid something has changed so that Security.getProviders() returns

    gnu.java.security.provider.Gnu: name=GNU version=1.0

  before

    kaffe.security.provider.Kaffe: name=KAFFE version=1.0

With an older kaffe whose ChangeLog head is
   2005-06-29  Guilhem Lavaux  <[EMAIL PROTECTED]>,
with which SecureRandomTest passed, I can reproduce the error
by forcing SecureRandomTest to use gnu.java.security.provider.Gnu.

Change the lines in SecureRandomTest.java that read

        sr = SecureRandom.getInstance("SHA1PRNG");
to
        sr = SecureRandom.getInstance("SHA1PRNG", "GNU");

and you will see the same error.

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

Reply via email to