diff --git a/conn.go b/conn.go index c5a5fbf..a90a540 100644 --- a/conn.go +++ b/conn.go @@ -846,7 +846,7 @@ func (c *Conn) readFromUntil(r io.Reader, n int) error { return err } -// sendAlert sends a TLS alert message. +// sendAlertLocked sends a TLS alert message. func (c *Conn) sendAlertLocked(err alert) error { switch err { case alertNoRenegotiation, alertCloseNotify: