mirror of https://github.com/golang/go.git
Fix TLS handshake typo
This commit is contained in:
parent
df0ac45002
commit
21e91a1a48
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue