mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-09-14 05:38:16 +02:00
Take the right openssl here
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ KEY="server.key"
|
|||||||
# This OpenSSL version will support TLS 1.3
|
# This OpenSSL version will support TLS 1.3
|
||||||
OPENSSL=/usr/bin/openssl
|
OPENSSL=/usr/bin/openssl
|
||||||
|
|
||||||
if [[ $(openssl version) =~ LibreSSL ]]; then # MacOS. LibreSSL doesn't know "-naccept"
|
if [[ $($OPENSSL version) =~ LibreSSL ]]; then # MacOS. LibreSSL doesn't know "-naccept"
|
||||||
if [[ -x /opt/homebrew/bin/openssl.NOPE ]]; then
|
if [[ -x /opt/homebrew/bin/openssl.NOPE ]]; then
|
||||||
OPENSSL=/opt/homebrew/bin/openssl.NOPE # We hid that during GHA CI checks
|
OPENSSL=/opt/homebrew/bin/openssl.NOPE # We hid that during GHA CI checks
|
||||||
elif [[ -x /opt/homebrew/bin/openssl ]]; then
|
elif [[ -x /opt/homebrew/bin/openssl ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user