]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: fix docstring of Config.ClientSessionCache
authorArtyom Pervukhin <artyom.pervukhin@gmail.com>
Fri, 18 Aug 2017 10:26:41 +0000 (13:26 +0300)
committerAdam Langley <agl@golang.org>
Fri, 25 Aug 2017 22:37:26 +0000 (22:37 +0000)
Closes #21519

Change-Id: I1247e9435de93aae7e4db2b6e8e5be1b010c296b
Reviewed-on: https://go-review.googlesource.com/56832
Reviewed-by: Avelino <t@avelino.xxx>
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/tls/common.go

index 5860838dd25457945e0819ae70e8f1b09a6cd716..13776486b19dba9f605777a6431def5e68082e12 100644 (file)
@@ -471,8 +471,8 @@ type Config struct {
        // connections using that key are compromised.
        SessionTicketKey [32]byte
 
-       // SessionCache is a cache of ClientSessionState entries for TLS session
-       // resumption.
+       // ClientSessionCache is a cache of ClientSessionState entries for TLS
+       // session resumption.
        ClientSessionCache ClientSessionCache
 
        // MinVersion contains the minimum SSL/TLS version that is acceptable.