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
thejasviv authored and Abdul Kolarkunnu committed Sep 23, 2021
1 parent 912ae51 commit cb6a08c04415a39993d87948915b5390d1d21beb
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 cb6a08c

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on cb6a08c Sep 23, 2021

Please sign in to comment.