forked from External/grumble
Gofmt run.
This commit is contained in:
parent
fec890da2f
commit
3eca9a9d3e
3 changed files with 3 additions and 2 deletions
|
|
@ -1307,7 +1307,7 @@ func (server *Server) handleUserStatsMessage(client *Client, msg *Message) {
|
|||
if details {
|
||||
if tlsconn := target.conn.(*tls.Conn); tlsconn != nil {
|
||||
state := tlsconn.ConnectionState()
|
||||
for i := len(state.PeerCertificates)-1; i >= 0; i-- {
|
||||
for i := len(state.PeerCertificates) - 1; i >= 0; i-- {
|
||||
stats.Certificates = append(stats.Certificates, state.PeerCertificates[i].Raw)
|
||||
}
|
||||
// fixme(mkrautz): strong certificate checking
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue