Merge pull request #2154 from dcooper16/server_pref_no_default_cipher

Fix run_server_preference() with no default protocol
This commit is contained in:
Dirk Wetter 2022-04-24 19:30:18 +02:00 committed by GitHub
commit 5053105d3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6682,7 +6682,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"