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

Fernando Guallini fguallini at openjdk.org
Fri Feb 14 10:30:20 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.

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

Commit messages:
 - typo
 - it should be isX64 rather than is64bit
 - refactoring
 - using openssl 3.0.14

Changes: https://git.openjdk.org/jdk/pull/23613/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23613&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349492
  Stats: 63 lines in 2 files changed: 25 ins; 0 del; 38 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