From 3a28755badf73e7bc88a1edadfa88d60ae75c519 Mon Sep 17 00:00:00 2001 From: Steven Valdez Date: Tue, 19 Jul 2016 05:10:50 -0400 Subject: [PATCH] Fix sending draft_version. Change-Id: I55ab20c3add6e504522f3bb7e75aeed7daa0aad7 Reviewed-on: https://boringssl-review.googlesource.com/8851 Reviewed-by: David Benjamin Commit-Queue: David Benjamin CQ-Verified: CQ bot account: commit-bot@chromium.org --- ssl/t1_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index ee2c7fe3..f76d9f0a 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -1935,7 +1935,7 @@ static int ext_ec_point_add_serverhello(SSL *ssl, CBB *out) { static int ext_draft_version_add_clienthello(SSL *ssl, CBB *out) { uint16_t min_version, max_version; if (!ssl_get_version_range(ssl, &min_version, &max_version) || - max_version >= TLS1_3_VERSION) { + max_version < TLS1_3_VERSION) { return 1; }