mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-05 16:29:45 +01:00
Merge pull request #2155 from dcooper16/server_pref_no_default_protocol_30
Fix run_server_preference() with no default protocol
This commit is contained in:
commit
2eac75d5b5
@ -6329,7 +6329,7 @@ run_server_preference() {
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
default_proto=$(get_protocol $TMPFILE)
|
||||
[[ $ret -eq 0 ]] && default_proto=$(get_protocol $TMPFILE)
|
||||
[[ "$default_proto" == TLSv1.0 ]] && default_proto="TLSv1"
|
||||
# debugme tm_out " --> $default_proto\n"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user