mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-19 15:09:30 +01:00
Fix double ports statement
In order to be in line with 3.0 this adds a statement to avoid double port statements for WSL users in a precheck condition $OPENSSL s_client -groups $curve -connect 127.0.0.1:0:8443 This commit changes that to $OPENSSL s_client -groups $curve -connect 127.0.0.1:8443 which could cause a delay for WSL users and needs further investigation. Not clear why port 8443 was chosen.
This commit is contained in:
parent
79df758023
commit
3140352b0c
@ -19304,7 +19304,7 @@ find_openssl_binary() {
|
||||
|
||||
if $OPENSSL s_client -curves "${curves_ossl[0]}" -connect $NXCONNECT 2>&1 | grep -aiq "unknown option"; then
|
||||
for curve in "${curves_ossl[@]}"; do
|
||||
$OPENSSL s_client -groups $curve -connect $NXCONNECT:8443 2>&1 | grep -Eiaq "Error with command|unknown option|Failed to set groups"
|
||||
$OPENSSL s_client -groups $curve -connect ${NXCONNECT%:*}:8443 2>&1 | grep -Eiaq "Error with command|unknown option|Failed to set groups"
|
||||
[[ $? -ne 0 ]] && OSSL_SUPPORTED_CURVES+=" $curve "
|
||||
done
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user