]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: fix a typo in TLS handshake comment
authorAlex Harford <alex.harford@saucelabs.com>
Fri, 6 Dec 2019 23:27:29 +0000 (23:27 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 6 Dec 2019 23:53:46 +0000 (23:53 +0000)
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/+/210289
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/tls/conn.go

index 029f7443d2ea13bec4349c72fdab339c64f0a767..fac4b9147340d1909ae8a41b7bdcbdd060cb4ca4 100644 (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()
        }