[jdk17] RFR: 8269276: Additional tests for MessageDigest with different providers
Valerie Peng
valeriep at openjdk.java.net
Wed Jul 14 17:21:17 UTC 2021
On Wed, 14 Jul 2021 10:06:59 GMT, Sibabrata Sahoo <ssahoo at openjdk.org> wrote:
> Few more Test cases added to verify MessageDigest instance generated through different providers.
Marked as reviewed by valeriep (Reviewer).
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.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/250
More information about the security-dev
mailing list