1
0
Fork 0
forked from External/grumble

Gofmt run.

This commit is contained in:
Mikkel Krautz 2011-05-20 12:30:31 +02:00
parent fec890da2f
commit 3eca9a9d3e
3 changed files with 3 additions and 2 deletions

View file

@ -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