Skip to content

Commit 7b4a3d9

Browse files
cpugopherbot
authored andcommitted
crypto/tls: fix bogo IgnoreClientVersionOrder skip reason
The BoGo IgnoreClientVersionOrder test checks that a client that sends a supported_versions extension with the list [TLS 1.2, TLS 1.3] ends up negotiating TLS 1.3. However, the crypto/tls module treats this list as being in client preference order, and so negotiates TLS 1.2, failing the test. Our behaviour appears to be the correct handling based on RFC 8446 §4.2.1 where it says: The extension contains a list of supported versions in preference order, with the most preferred version first. This commit updates the reason we skip this test to cite the RFC instead of saying it's something to be fixed. Updates #72006 Change-Id: I27a2cd231e4b8762b0d9e2dbd3d8ddd5b87fd5ca Reviewed-on: https://go-review.googlesource.com/c/go/+/671415 Reviewed-by: Roland Shoemaker <roland@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Daniel McCarney <daniel@binaryparadox.net>
1 parent d681270 commit 7b4a3d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/tls/bogo_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"SupportTicketsWithSessionID": "TODO: first pass, this should be fixed",
6767
"NoNullCompression-TLS12": "TODO: first pass, this should be fixed",
6868
"KeyUpdate-RequestACK": "TODO: first pass, this should be fixed",
69-
"IgnoreClientVersionOrder": "TODO: first pass, this should be fixed",
69+
"IgnoreClientVersionOrder": "RFC 8446 4.2.1 says supported_versions is in client pref order",
7070
"SupportedVersionSelection-TLS12": "TODO: first pass, this should be fixed",
7171
"DuplicateExtensionServer-TLS-TLS1": "TODO: first pass, this should be fixed",
7272
"DuplicateExtensionClient-TLS-TLS1": "TODO: first pass, this should be fixed",

0 commit comments

Comments
 (0)