FYI: java.security provider framework fixes
Mark Wielaard
mark@klomp.org
Fri Dec 13 06:20:00 GMT 2002
Hi,
The following fixes one of the last known issues with using the
java.security provider framework. These were found (and fixed) by the
GNU Crypto developers and have already been applied to GNU Classpath.
2002-12-13 Casey Marshall <rsdio@metastatic.org>
Mark Wielaard <mark@klomp.org>
* java/security/SecurityRandom (digest): Removed field.
(SecureRandom): Check all providers for case-insensitive SecureRandom
implementation. Don't ignore classname == null. Fallback to SHA1PRNG
if necessary.
(getInstance(String,Provider,boolean): New method.
(getInstance(String)): Use new method.
(getInstance(String,String)): Likewise.
(getInstance(String,Provider)): Likewise.
2002-12-13 Casey Marshall <rsdio@metastatic.org>
* java/security/Security.java (loadProviders): Increment i only once.
I have added tests to Mauve for SecureRandom and the GNU Crypto
testsuite now also succeeds its SecureRandom tests.
Cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: security.patch
Type: text/x-patch
Size: 8172 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20021213/ded064f0/attachment.bin>
More information about the Java-patches
mailing list