Skip to content

Commit 2eac75d

Browse files
authored
Merge pull request #2155 from dcooper16/server_pref_no_default_protocol_30
Fix run_server_preference() with no default protocol
2 parents 0047e1f + 93711f3 commit 2eac75d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6329,7 +6329,7 @@ run_server_preference() {
63296329
fi
63306330
fi
63316331
fi
6332-
default_proto=$(get_protocol $TMPFILE)
6332+
[[ $ret -eq 0 ]] && default_proto=$(get_protocol $TMPFILE)
63336333
[[ "$default_proto" == TLSv1.0 ]] && default_proto="TLSv1"
63346334
# debugme tm_out " --> $default_proto\n"
63356335

0 commit comments

Comments
 (0)