RFR 8178370 : [TEST_BUG] java/security/Signature/SignatureLength.java fails
Ivan Gerasimov
ivan.gerasimov at oracle.com
Tue Mar 6 21:01:48 UTC 2018
Hello!
The regression test SignatureLength.java was seen to fail on some
Solaris systems.
This is because signature verifier from SunPKCS11-Solaris provider
doesn't always throw SignatureException when the signature is of wrong
length, but can simply return false to indicate it is invalid.
The test was also modified to try different combinations of providers
used to create key-pair generator, signer and verifier.
The fixed test passes well on all platforms with JDK 11 and JDK 8u.
Would you please help review it?
BUGURL: https://bugs.openjdk.java.net/browse/JDK-8178370
WEBREV: http://cr.openjdk.java.net/~igerasim/8178370/00/webrev/
Thanks in advance!
--
With kind regards,
Ivan Gerasimov
More information about the security-dev
mailing list