RFR: 8273646: Add openssl from path variable also in to Default System Openssl Path in OpensslArtifactFetcher

Weijun Wang weijun at openjdk.java.net
Wed Sep 15 21:52:27 UTC 2021


On Wed, 15 Sep 2021 08:01:30 GMT, Thejasvi Voniadka <tvoniadka at openjdk.org> wrote:

> The test "sun/security/pkcs12/KeytoolOpensslInteropTest.java" performs interoperability checks between JDK and openssl with respect to certain keystore operations. The test requires a suitable version of openssl to be available on the machine it runs. Some mechanisms are used to discover openssl, among which searching through a predefined set of paths is also one. The test at present looks only at the following absolute paths (in that order):

My understanding is that the $PATH variable usually already contains `/usr/bin` and `/usr/local/bin`. If you switch to $PATH, maybe it's no more necessary to try out those 2 anymore?

Just curious, what is the full path of openssl on your Cygwin?

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

PR: https://git.openjdk.java.net/jdk/pull/5523



More information about the security-dev mailing list