aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2023-01-05 17:08:07 +0100
committerGopher Robot <gobot@golang.org>2023-01-05 19:33:00 +0000
commit119f679a3bd2e60cfc990920f82fd1a5cb006f4c (patch)
tree9d8ba78c828fa0a035db63080bef60df78b17d07
parentd50ea217f6f5668d6a89fb965e36ecf8564a45cf (diff)
downloadgo-119f679a3bd2e60cfc990920f82fd1a5cb006f4c.tar.gz
go-119f679a3bd2e60cfc990920f82fd1a5cb006f4c.zip
crypto/tls: fix typo in cacheEntry godoc
Change-Id: Idcea184a5b0c205efd3c91c60b5d954424f37679 Reviewed-on: https://go-review.googlesource.com/c/go/+/460540 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
-rw-r--r--src/crypto/tls/cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/tls/cache.go b/src/crypto/tls/cache.go
index 2bdf2d9a01..fc8f2c0844 100644
--- a/src/crypto/tls/cache.go
+++ b/src/crypto/tls/cache.go
@@ -27,7 +27,7 @@ type cacheEntry struct {
// to the certificate in the cache is decremented. Once the number of references
// reaches zero, the entry is evicted from the cache.
//
-// The main difference between this implmentation and CRYPTO_BUFFER_POOL is that
+// The main difference between this implementation and CRYPTO_BUFFER_POOL is that
// CRYPTO_BUFFER_POOL is a more generic structure which supports blobs of data,
// rather than specific structures. Since we only care about x509.Certificates,
// certCache is implemented as a specific cache, rather than a generic one.