Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
bffadd6b
Commit
bffadd6b
authored
Oct 08, 2011
by
Adam Langley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypto/tls: forgot this file in the last change.
R=bradfitz CC=golang-dev
https://golang.org/cl/5244042
parent
7e48cb5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/pkg/crypto/tls/conn.go
src/pkg/crypto/tls/conn.go
+3
-0
No files found.
src/pkg/crypto/tls/conn.go
View file @
bffadd6b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment