[kaffe] CVS kaffe (guilhem): Fixlet for Security
Kaffe CVS
cvs-commits at kaffe.org
Mon Aug 15 08:44:23 PDT 2005
PatchSet 6830
Date: 2005/08/15 15:36:08
Author: guilhem
Branch: HEAD
Tag: (none)
Log:
Fixlet for Security
2005-08-15 Guilhem Lavaux <guilhem at kaffe.org>
* libraries/javalib/kaffe/security/providers/SHA1PRNG.java
(<clinit>): Catch any remaining exception. This fixes a problem with
SecureRandomTest not finding /dev/urandom on some system.
Members:
ChangeLog:1.4354->1.4355
libraries/javalib/kaffe/security/provider/SHA1PRNG.java:1.8->1.9
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4354 kaffe/ChangeLog:1.4355
--- kaffe/ChangeLog:1.4354 Mon Aug 15 01:55:13 2005
+++ kaffe/ChangeLog Mon Aug 15 15:36:08 2005
@@ -1,3 +1,9 @@
+2005-08-15 Guilhem Lavaux <guilhem at kaffe.org>
+
+ * libraries/javalib/kaffe/security/providers/SHA1PRNG.java
+ (<clinit>): Catch any remaining exception. This fixes a problem with
+ SecureRandomTest not finding /dev/urandom on some system.
+
2005-08-14 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffe/version.c (printShortVersion) Added version information
Index: kaffe/libraries/javalib/kaffe/security/provider/SHA1PRNG.java
diff -u kaffe/libraries/javalib/kaffe/security/provider/SHA1PRNG.java:1.8 kaffe/libraries/javalib/kaffe/security/provider/SHA1PRNG.java:1.9
--- kaffe/libraries/javalib/kaffe/security/provider/SHA1PRNG.java:1.8 Mon Mar 22 11:25:33 2004
+++ kaffe/libraries/javalib/kaffe/security/provider/SHA1PRNG.java Mon Aug 15 15:36:15 2005
@@ -86,6 +86,13 @@
catch(ClassNotFoundException e)
{
}
+ catch(NullPointerException e)
+ {
+ throw e;
+ }
+ catch(Exception e)
+ {
+ }
}
if( rand == null )
{
More information about the kaffe
mailing list