Skip to content

Commit bc203c5

Browse files
authored
Merge pull request #2062 from dcooper16/update_host_depended_vars_30
Update reset_hostdepended_vars()
2 parents 89bd829 + bcc6178 commit bc203c5

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

testssl.sh

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20077,8 +20077,26 @@ reset_hostdepended_vars() {
2007720077
PROTOS_OFFERED=""
2007820078
CURVES_OFFERED=""
2007920079
OPTIMAL_PROTO=""
20080+
STARTTLS_OPTIMAL_PROTO=""
2008020081
ALL_FAILED_SOCKETS=true
2008120082
SERVER_SIZE_LIMIT_BUG=false
20083+
NR_SOCKET_FAIL=0
20084+
NR_OSSL_FAIL=0
20085+
NR_HEADER_FAIL=0
20086+
TLS12_CIPHER_OFFERED=""
20087+
KNOWN_OSSL_PROB=false
20088+
TLS13_ONLY=false
20089+
CLIENT_AUTH=false
20090+
NO_SSL_SESSIONID=false
20091+
DH_GROUP_OFFERED=""
20092+
DH_GROUP_LEN_P=0
20093+
KEY_SHARE_EXTN_NR="33"
20094+
BAD_SERVER_HELLO_CIPHER=false
20095+
GOST_STATUS_PROBLEM=false
20096+
SERVICE=""
20097+
CERT_FINGERPRINT_SHA2=""
20098+
RSA_CERT_FINGERPRINT_SHA2=""
20099+
TLS_TIME=""
2008220100
}
2008320101

2008420102
# Rough estimate, in the future we maybe want to make use of nano secs (%N). Note this
@@ -20231,10 +20249,6 @@ lets_roll() {
2023120249
calc_scantime
2023220250
datebanner " Done"
2023320251

20234-
# reset the failed connect counter as we are finished
20235-
NR_SOCKET_FAIL=0
20236-
NR_OSSL_FAIL=0
20237-
2023820252
"$MEASURE_TIME" && printf "$1: %${COLUMNS}s\n" "$SCAN_TIME"
2023920253
[[ -e "$MEASURE_TIME_FILE" ]] && echo "Total : $SCAN_TIME " >> "$MEASURE_TIME_FILE"
2024020254

0 commit comments

Comments
 (0)