[jdk17] RFR: 8269276: Additional tests for MessageDigest with different providers [v2]
Sibabrata Sahoo
ssahoo at openjdk.java.net
Thu Jul 15 05:46:48 UTC 2021
On Wed, 14 Jul 2021 17:15:14 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
>> Sibabrata Sahoo has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Create ReinitDigest.java
>>
>> Provider name verification required.
>
> test/jdk/sun/security/pkcs11/MessageDigest/ReinitDigest.java line 105:
>
>> 103: throw new RuntimeException("Algorithm name should equal");
>> 104: }
>> 105: if (md1.getProvider().equals(md2.getProvider())) {
>
> nit: calls getName() since the error message says that the comparison is based on provider name.
Updated. It was meant to be provider name check. Thanks..
-------------
PR: https://git.openjdk.java.net/jdk17/pull/250
More information about the security-dev
mailing list