-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b09
-
Not verified
In sun.security.provider.DSA.engineInitSign() a check for the key size is meant to be skipped if the MessageDigest is NullDigest20.
However, the check for the algorithm's name is done via comparing with a String literal, which is not guaranteed to be accurate.
The comparison should be done via String.equals() instead.
However, the check for the algorithm's name is done via comparing with a String literal, which is not guaranteed to be accurate.
The comparison should be done via String.equals() instead.