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

Sean Mullan sean.mullan at oracle.com
Thu Mar 29 15:00:26 UTC 2018


Looks fine to me.

--Sean

On 3/23/18 12:58 PM, Ivan Gerasimov wrote:
> 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!
>>
> 


More information about the security-dev mailing list