bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug crypto/28212] SecretKeySpec equal method does not check the object


From: mwringe at redhat dot com
Subject: [Bug crypto/28212] SecretKeySpec equal method does not check the object type
Date: 30 Jun 2006 19:38:34 -0000


------- Comment #1 from mwringe at redhat dot com  2006-06-30 19:38 -------
A patch that solves this issue can be found here:
http://developer.classpath.org/pipermail/classpath-patches/attachments/20060630/4dba50c0/Crypto-SecretKeySpec.bin

This patch first checks if the object passed is an instance of SecretKeySpec.
If the object is not an instance, then false is returned, else the rest of the
comparions proceed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28212





reply via email to

[Prev in Thread] Current Thread [Next in Thread]