Commit 33d20760 authored by Alex Harford's avatar Alex Harford Committed by Brad Fitzpatrick

crypto/tls: fix a typo in TLS handshake comment

Fix a minor typo in the TLS handshake comment.

Change-Id: I0fd243e5440f6c77c97e844e6669a7974a2c8798
GitHub-Last-Rev: 21e91a1a48e8a9200e6fca89a988e1383ded7bb2
GitHub-Pull-Request: golang/go#36030
Reviewed-on: https://go-review.googlesource.com/c/go/+/210289Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent ea89ce1e
...@@ -1344,7 +1344,7 @@ func (c *Conn) Handshake() error { ...@@ -1344,7 +1344,7 @@ func (c *Conn) Handshake() error {
if c.handshakeErr == nil { if c.handshakeErr == nil {
c.handshakes++ c.handshakes++
} else { } 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. // alert that might be left in the buffer.
c.flush() c.flush()
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment