summaryrefslogtreecommitdiff
path: root/tests/tls13/supported_versions.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tls13/supported_versions.c')
-rw-r--r--tests/tls13/supported_versions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tls13/supported_versions.c b/tests/tls13/supported_versions.c
index be0e6f3f2e..bb9c7b6b92 100644
--- a/tests/tls13/supported_versions.c
+++ b/tests/tls13/supported_versions.c
@@ -224,7 +224,7 @@ static int client_hello_callback(gnutls_session_t session, unsigned int htype,
#ifdef TLS13_FINAL_VERSION
if (msg->data[pos] != 0x03 || msg->data[pos+1] != 0x04) {
#else
- if (msg->data[pos] != 0x7f || msg->data[pos+1] != 23) {
+ if (msg->data[pos] != 0x7f || msg->data[pos+1] != 26) {
#endif
fail("fail expected TLS 1.3, got %d.%d\n", (int)msg->data[pos], (int)msg->data[pos+1]);
}