RFR: 8278099: two sun/security/pkcs11/Signature tests failed with AssertionError

Valerie Peng valeriep at openjdk.java.net
Thu Dec 2 01:29:46 UTC 2021


Can someone help reviewing this trivial one-line fix? The assert check in CK_MECHANISM.java is too strict and fail unexpectedly when digest-specific PSS signature mechanisms are supported by the underlying PKCS#11 library. The fix is to remove this assert check. No new regression test added with this fix as this is already covered by existing regression tests.

Thanks,
Valerie

-------------

Commit messages:
 - 8278099: two sun/security/pkcs11/Signature tests failed with AssertionError

Changes: https://git.openjdk.java.net/jdk/pull/6656/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6656&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8278099
  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6656.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6656/head:pull/6656

PR: https://git.openjdk.java.net/jdk/pull/6656



More information about the security-dev mailing list