1
0
mirror of https://github.com/golang/go synced 2024-11-25 01:37:57 -07:00

crypto/tls: forgot this file in the last change.

R=bradfitz
CC=golang-dev
https://golang.org/cl/5244042
This commit is contained in:
Adam Langley 2011-10-08 10:11:38 -04:00
parent 7e48cb5ffe
commit bffadd6bd7

View File

@ -36,6 +36,8 @@ type Conn struct {
// verifiedChains contains the certificate chains that we built, as
// opposed to the ones presented by the server.
verifiedChains [][]*x509.Certificate
// serverName contains the server name indicated by the client, if any.
serverName string
clientProtocol string
clientProtocolFallback bool
@ -798,6 +800,7 @@ func (c *Conn) ConnectionState() ConnectionState {
state.CipherSuite = c.cipherSuite
state.PeerCertificates = c.peerCertificates
state.VerifiedChains = c.verifiedChains
state.ServerName = c.serverName
}
return state