crypto/tls: fix a typo in TLS handshake comment

Fix a minor typo in the TLS handshake comment.

Change-Id: I0fd243e5440f6c77c97e844e6669a7974a2c8798
GitHub-Last-Rev: 21e91a1a48
GitHub-Pull-Request: golang/go#36030
Reviewed-on: https://go-review.googlesource.com/c/go/+/210289
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Alex Harford 2019-12-06 23:27:29 +00:00 committed by Brad Fitzpatrick
parent ea89ce1ea2
commit 33d20760a2
1 changed files with 1 additions and 1 deletions

View File

@ -1344,7 +1344,7 @@ func (c *Conn) Handshake() error {
if c.handshakeErr == nil {
c.handshakes++
} else {
// If an error occurred during the hadshake try to flush the
// If an error occurred during the handshake try to flush the
// alert that might be left in the buffer.
c.flush()
}