Commit 93711f3
Fix run_server_preference() with no default protocol
run_server_preference() calls "default_proto=$(get_protocol $TMPFILE)" even if all attempts to connect to the server failed. This will result in default_proto incorrectly being set to TLS 1.2. This commit fixes the issue by only calling get_protocol() if an attempt to connect to the server was successful.1 parent 0047e1f commit 93711f3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6329 | 6329 | | |
6330 | 6330 | | |
6331 | 6331 | | |
6332 | | - | |
| 6332 | + | |
6333 | 6333 | | |
6334 | 6334 | | |
6335 | 6335 | | |
| |||
0 commit comments