JDK-8269276 : Additional tests for MessageDigest with different providers
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-06-24
  • Updated: 2024-09-30
  • Resolved: 2021-07-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 18 JDK 8
11.0.26-oracleFixed 17 b32Fixed 18Fixed 8u441Fixed
Related Reports
Relates :  
Description
Add Test cases to compare MessageDigest instance attributes generated from different providers and with different algorithms.
We can choose SUN and SunPKCS11 providers and then compare the MessageDigest instances for some provider specific info and some common. Similar comparison can be done when MessageDigest instances generated for different algorithms.
For simplicity we can use existing Test to add these minor Test cases: open/test/jdk/sun/security/pkcs11/MessageDigest/ReinitDigest.java.
Comments
Changeset: a32d2eef Author: Sibabrata Sahoo <ssahoo@openjdk.org> Date: 2021-07-15 05:42:55 +0000 URL: https://git.openjdk.java.net/jdk17/commit/a32d2eefea12771522b942b32985df0fe50119e8
15-07-2021