]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: err for unsupported point format configs
authorDaniel McCarney <daniel@binaryparadox.net>
Tue, 29 Apr 2025 21:39:08 +0000 (17:39 -0400)
committerDaniel McCarney <daniel@binaryparadox.net>
Fri, 9 May 2025 20:38:41 +0000 (13:38 -0700)
commit00b63486583ef8055c821fa16a87017e04dc2920
tree0115cfc0c7ffd5c2986a0cdca44c0d42ed4bb705
parent992d1547178fe0d18c2827e34d62fbc545ace64c
crypto/tls: err for unsupported point format configs

If a client or server explicitly offers point formats, and the point
formats don't include the uncompressed format, then error. This matches
BoringSSL and Rustls behaviour and allows enabling the
PointFormat-Client-MissingUncompressed bogo test.

Updates #72006

Change-Id: I27a2cd231e4b8762b0d9e2dbd3d8ddd5b87fd5c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/669157
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/crypto/tls/bogo_config.json
src/crypto/tls/common.go
src/crypto/tls/handshake_client.go
src/crypto/tls/handshake_server.go
src/crypto/tls/tls_test.go