Skip to content

Commit d7b996b

Browse files
committed
Fix lf when not vulnerable
1 parent dba3bd0 commit d7b996b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

testssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ http_get_header() {
18901890
tm_out "$response_headers"
18911891
return $ret
18921892
elif type -p wget &>/dev/null; then
1893-
timeout="--timeout=$HEADER_MAXSLEEP --tries=0"
1893+
timeout="--timeout=$HEADER_MAXSLEEP --tries=1"
18941894
# wget has no proxy command line. We need to use http_proxy instead. And for the sake of simplicity
18951895
# assume the GET protocol we query is using http -- http_proxy is the $ENV not for the connection TO
18961896
# the proxy, but for the protocol we query THROUGH the proxy
@@ -17654,7 +17654,7 @@ run_opossum() {
1765417654
pr_svrty_critical "VULNERABLE (NOT ok)"
1765517655
fileout "$jsonID" "CRITICAL" "VULNERABLE" "$cve" "$cwe" "$hint"
1765617656
else
17657-
pr_svrty_best "not vulnerable (OK)"; out "$append"
17657+
pr_svrty_best "not vulnerable (OK)"
1765817658
fileout "$jsonID" "OK" "not vulnerable $append" "$cve" "$cwe"
1765917659
fi
1766017660
echo

0 commit comments

Comments
 (0)