]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.26] crypto/tls: revalidate whole chain on resumption on Windows...
authorFilippo Valsorda <filippo@golang.org>
Fri, 30 Jan 2026 17:07:23 +0000 (18:07 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 3 Feb 2026 19:17:52 +0000 (11:17 -0800)
commit3c5aea997ad49405d69946dde157b49139efa6eb
tree9d29ebd3269f676a12eceec4d4aaf4b893cb5378
parenteedccc63c087a16e297e91ab1004e0d7b88fe924
[release-branch.go1.26] crypto/tls: revalidate whole chain on resumption on Windows and macOS

TestHandshakeChangeRootCAsResumption and TestHandshakeGetConfigForClientDifferentClientCAs
changed because previously rootA and rootB shared Subject and SPKI,
which made the new full-chain revalidation check succeed, as the
same leaf would verify against both roots.

Updates #77376
Fixes #77426

Cq-Include-Trybots: luci.golang.try:go1.26-darwin-arm64-longtest
Change-Id: I60bed694bdc621c9e83f1bd8a8224c016a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/741361
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Roland Shoemaker <roland@golang.org>
(cherry picked from commit b691a2edc7f5863f61a07c4a4f087eef1a15a704)
Reviewed-on: https://go-review.googlesource.com/c/go/+/741680
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
src/crypto/tls/common.go
src/crypto/tls/handshake_server_test.go
src/crypto/tls/tls_test.go