]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: set CipherSuite for VerifyConnection
authorKatie Hockman <katie@golang.org>
Thu, 4 Jun 2020 14:52:24 +0000 (10:52 -0400)
committerKatie Hockman <katie@golang.org>
Thu, 4 Jun 2020 20:16:53 +0000 (20:16 +0000)
commitfb86c70bdad8aaa9756d6740885714c5aeff5989
tree17c79067149414c932ba46d9f95ba41e955c053e
parent07ced37013b6b3bdb9cd02def52821a09a4e9c58
crypto/tls: set CipherSuite for VerifyConnection

The ConnectionState's CipherSuite was not set prior
to the VerifyConnection callback in TLS 1.2 servers,
both for full handshakes and resumptions.

Change-Id: Iab91783eff84d1b42ca09c8df08e07861e18da30
Reviewed-on: https://go-review.googlesource.com/c/go/+/236558
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/tls/handshake_client_test.go
src/crypto/tls/handshake_server.go