]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: add offered cipher suites to the handshake error
authorNicola Murino <nicola.murino@gmail.com>
Sun, 24 Nov 2024 14:28:34 +0000 (15:28 +0100)
committerGopher Robot <gobot@golang.org>
Mon, 7 Apr 2025 16:32:45 +0000 (09:32 -0700)
commit3046b499918929944cbce1c0ed14c14d0b431adf
treeaa0af9b7dc7bb5d06a2fb5346fcbc22f2b5ea2d0
parenta6e74454577c68ea96ce6512e3e92beffbe15c5c
crypto/tls: add offered cipher suites to the handshake error

This change makes debugging easier if the server handshake fails because
the client only offers unsupported algorithms.

Change-Id: I7daac173a16af2e073aec3d9b59709560f540c6f
Reviewed-on: https://go-review.googlesource.com/c/go/+/631555
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Nicola Murino <nicola.murino@gmail.com>
src/crypto/tls/handshake_server.go
src/crypto/tls/handshake_server_tls13.go