diff --git a/images/macos/provision/core/openssl.sh b/images/macos/provision/core/openssl.sh index 5c28fd801..c7d66405c 100755 --- a/images/macos/provision/core/openssl.sh +++ b/images/macos/provision/core/openssl.sh @@ -1,9 +1,6 @@ #!/bin/bash -e -o pipefail source ~/utils/utils.sh -echo "Install latest openssl" -brew_smart_install "openssl" - echo "Install openssl@1.1" brew_smart_install "openssl@1.1" diff --git a/images/macos/software-report/SoftwareReport.Common.psm1 b/images/macos/software-report/SoftwareReport.Common.psm1 index 64ee19a1c..f429390dd 100644 --- a/images/macos/software-report/SoftwareReport.Common.psm1 +++ b/images/macos/software-report/SoftwareReport.Common.psm1 @@ -308,7 +308,7 @@ function Get-PackerVersion { } function Get-OpenSSLVersion { - $opensslVersion = Get-Item /usr/local/opt/openssl | ForEach-Object {"{0} ``({1} -> {2})``" -f (Run-Command "openssl version"), $_.FullName, $_.Target} + $opensslVersion = Get-Item /usr/local/opt/openssl@1.1 | ForEach-Object {"{0} ``({1} -> {2})``" -f (Run-Command "openssl version"), $_.FullName, $_.Target} return $opensslVersion }