1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-03 20:31:57 +02:00

Merge pull request from dcooper16/server_pref_no_default_protocol_30

Fix run_server_preference() with no default protocol
This commit is contained in:
Dirk Wetter
2022-04-24 18:12:19 +02:00
committed by GitHub

@ -6329,7 +6329,7 @@ run_server_preference() {
fi fi
fi fi
fi fi
default_proto=$(get_protocol $TMPFILE) [[ $ret -eq 0 ]] && default_proto=$(get_protocol $TMPFILE)
[[ "$default_proto" == TLSv1.0 ]] && default_proto="TLSv1" [[ "$default_proto" == TLSv1.0 ]] && default_proto="TLSv1"
# debugme tm_out " --> $default_proto\n" # debugme tm_out " --> $default_proto\n"