mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-15 10:41:13 +02:00
Merge pull request #2846 from testssl/find_autohomebrewssl
Try harder to find OPENSSL2
This commit is contained in:
commit
a719c46bcb
@ -20946,7 +20946,12 @@ find_openssl_binary() {
|
||||
initialize_engine
|
||||
|
||||
openssl_location="$(type -p $OPENSSL)"
|
||||
|
||||
|
||||
# kludge for e.g. MacOS and brew
|
||||
if [[ $OPENSSL == $OPENSSL2 ]]; then
|
||||
OPENSSL2=$(type -a openssl | grep -v /usr/bin/openssl | awk '{ print $NF }')
|
||||
fi
|
||||
|
||||
[[ -n "$GIT_REL" ]] && \
|
||||
cwd="$PWD" || \
|
||||
cwd="$RUN_DIR"
|
||||
|
Loading…
x
Reference in New Issue
Block a user