make the tests happy

This commit is contained in:
iamqizhao
2015-08-26 12:40:24 -07:00
parent b6d240dcce
commit c0e23d7ef3
4 changed files with 5 additions and 16 deletions

View File

@ -187,7 +187,7 @@ func (c *tlsCreds) ServerHandshake(rawConn net.Conn) (net.Conn, AuthInfo, error)
rawConn.Close()
return nil, nil, err
}
return conn, &TLSInfo{ conn.ConnectionState() }, nil
return conn, &TLSInfo{conn.ConnectionState()}, nil
}
// NewTLS uses c to construct a TransportAuthenticator based on TLS.