[go] crypto/tls: add LocalCertificate to ConnectionState

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Jun 10, 2026, 3:53:01 PM (4 days ago) Jun 10
to Roland Shoemaker, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, golang...@luci-project-accounts.iam.gserviceaccount.com, Cherry Mui, Daniel McCarney, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
crypto/tls: add LocalCertificate to ConnectionState

Adds a new field to ConnectionState, LocalCertificate, which contains
the certificate chain which was presented to the connection peer, if one
was.

Fixes #24673
Change-Id: Iae758fef4a2808e3295324890f4b2f55c71fcc4c
Auto-Submit: Roland Shoemaker <rol...@golang.org>
Reviewed-by: Cherry Mui <cher...@google.com>
TryBot-Bypass: Roland Shoemaker <rol...@golang.org>
Reviewed-by: Daniel McCarney <dan...@binaryparadox.net>
Files:
  • M api/go1.27.txt
  • M src/crypto/tls/common.go
  • M src/crypto/tls/conn.go
  • M src/crypto/tls/handshake_client.go
  • M src/crypto/tls/handshake_client_tls13.go
  • M src/crypto/tls/handshake_server.go
  • M src/crypto/tls/handshake_server_tls13.go
  • M src/crypto/tls/tls_test.go
Change size: M
Delta: 8 files changed, 140 insertions(+), 0 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Iae758fef4a2808e3295324890f4b2f55c71fcc4c
Gerrit-Change-Number: 788866
Gerrit-PatchSet: 6
Gerrit-Owner: Roland Shoemaker <rol...@golang.org>
Gerrit-Reviewer: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: Daniel McCarney <dan...@binaryparadox.net>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Roland Shoemaker <rol...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages