Skip to content
Permalink
Browse files
8273646: Add openssl from path variable also in to Default System Ope…
…nssl Path in OpensslArtifactFetcher

Backport-of: a5108a605e6a1e427d90dbeeb8630a3d01d6b405
  • Loading branch information
GoeLin committed Oct 12, 2021
1 parent fc2646b commit 7410b74fd7a4c6b2bbc5665de83baa4fad80193f
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/lib/jdk/test/lib/security/OpensslArtifactFetcher.java
@@ -82,8 +82,8 @@ private static String getOpensslFromSystemProp(String version) {
}

private static String getDefaultSystemOpensslPath(String version) {
if (verifyOpensslVersion("/usr/bin/openssl", version)) {
return "/usr/bin/openssl";
if (verifyOpensslVersion("openssl", version)) {
return "openssl";
} else if (verifyOpensslVersion("/usr/local/bin/openssl", version)) {
return "/usr/local/bin/openssl";
}

1 comment on commit 7410b74

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 7410b74 Oct 12, 2021

Please sign in to comment.