RFR 8178370 : [TEST_BUG] java/security/Signature/SignatureLength.java fails

Ivan Gerasimov ivan.gerasimov at oracle.com
Fri Mar 23 16:58:58 UTC 2018


Ping.

Can I please have a review for this test fix?

Thanks in advance!

Ivan


On 3/6/18 1:01 PM, Ivan Gerasimov wrote:
> 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