mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-07-15 03:27:38 +02:00
Merge pull request #3075 from lapo-luchini/3.3dev_fix_escaping
Fix escaping.
This commit is contained in:
+2
-2
@@ -21525,8 +21525,8 @@ find_openssl_binary() {
|
||||
|
||||
# In order to avoid delays due to lookups of the hostname "invalid." we just try to avoid using "-connect invalid."
|
||||
# when possible. The following does a check fopr that. For WSL we stick for now to the old scheme. Not sure about Cygwin
|
||||
if [[ SYSTEM2 == "WSL" ]]; then
|
||||
NXCONNECT=-connect $NXDNS
|
||||
if [[ $SYSTEM2 == "WSL" ]]; then
|
||||
NXCONNECT="-connect $NXDNS"
|
||||
else
|
||||
# If this connects and bails out with an error message, we do not need "-connect invalid."
|
||||
if $OPENSSL s_client 2>&1 </dev/null | grep -Eiaq 'Connection refused|connect error|Bad file descriptor'; then
|
||||
|
||||
Reference in New Issue
Block a user