]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: fix typo in Config.NextProtos docs
authorFilippo Valsorda <filippo@golang.org>
Mon, 7 Jun 2021 14:24:11 +0000 (10:24 -0400)
committerFilippo Valsorda <filippo@golang.org>
Mon, 7 Jun 2021 15:16:23 +0000 (15:16 +0000)
Change-Id: I916df584859595067e5e86c35607869397dbbd8c
Reviewed-on: https://go-review.googlesource.com/c/go/+/325651
Trust: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/crypto/tls/common.go

index 77957ef82bd9d3752e31a422314be9d932a65d64..d561e61707edd979576c9c21ec8224aa2228c447 100644 (file)
@@ -619,7 +619,7 @@ type Config struct {
        // protocol will be one from this list, and the connection will fail
        // if there is no mutually supported protocol. If NextProtos is empty
        // or the peer doesn't support ALPN, the connection will succeed and
-       // ConnectionState.NegotiatedProtocol will be empty."
+       // ConnectionState.NegotiatedProtocol will be empty.
        NextProtos []string
 
        // ServerName is used to verify the hostname on the returned