RFR: 8349492: Update sun/security/pkcs12/KeytoolOpensslInteropTest.java to use a recent Openssl version [v6]

Fernando Guallini fguallini at openjdk.org
Fri Mar 7 12:43:34 UTC 2025


> This updates the OpenSSL version that is used by test `sun/security/pkcs12/KeytoolOpensslInteropTest.java` to the current LTS version (3.0 series). 
> There are some differences between the 1.1.x and the current OpenSSL version:
> - RC4 is not longer enabled by default, therefore adding the `-legacy` flag when needed to enable it.  Additionally, It is also required to specify the path location of the legacy provider.
> - Unlike the old version that throws an error if the MAC was absent from the PKCS12, the 3.0 series shows a warning instead.

Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:

  based on suggestions

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23613/files
  - new: https://git.openjdk.org/jdk/pull/23613/files/ad998433..621e5d9d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23613&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23613&range=04-05

  Stats: 41 lines in 1 file changed: 21 ins; 7 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/23613.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23613/head:pull/23613

PR: https://git.openjdk.org/jdk/pull/23613


More information about the security-dev mailing list