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

Fernando Guallini fguallini at openjdk.org
Mon Mar 10 19:54:04 UTC 2025


On Thu, 13 Feb 2025 12:44:21 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 8d8bd0c4
Author:    Fernando Guallini <fguallini at openjdk.org>
Committer: Rajan Halade <rhalade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8d8bd0c4b3bfdc7670bba03b01b0a00dac9f9825
Stats:     116 lines in 2 files changed: 62 ins; 7 del; 47 mod

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

Reviewed-by: rhalade

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

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


More information about the security-dev mailing list