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

Fernando Guallini fguallini at openjdk.org
Mon Feb 17 11:06:09 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision:

 - Merge branch 'master' into JDK-8349492
 - updated wording in KeytoolOpensslInteropTest
 - updated wording
 - provider path depends on platform
 - typo
 - it should be isX64 rather than is64bit
 - refactoring
 - using openssl 3.0.14

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23613/files
  - new: https://git.openjdk.org/jdk/pull/23613/files/6df5414e..bcb87952

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

  Stats: 10686 lines in 438 files changed: 8011 ins; 1123 del; 1552 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