aboutsummaryrefslogtreecommitdiff
path: root/openpgp/s2k/s2k.go
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2025-09-29 11:51:24 +0800
committerGopher Robot <gobot@golang.org>2025-10-08 13:58:26 -0700
commit1faea2975ced2153e5086c1ee135f983db10150a (patch)
tree0055df92d038103a10fb9e6d6a309cc5d24ae721 /openpgp/s2k/s2k.go
parent627cb894b6b2021e34c4ad4af4c0a963127491e4 (diff)
downloadgo-x-crypto-1faea2975ced2153e5086c1ee135f983db10150a.tar.xz
all: fix some typos in comment
Change-Id: Ia209f0a6d9b19d14e655c65d1287a1416b48c487 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/707535 Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com> Auto-Submit: Sean Liao <sean@liao.dev> Reviewed-by: Nicola Murino <nicola.murino@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Sean Liao <sean@liao.dev>
Diffstat (limited to 'openpgp/s2k/s2k.go')
-rw-r--r--openpgp/s2k/s2k.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/s2k/s2k.go b/openpgp/s2k/s2k.go
index fa1a919..490cb63 100644
--- a/openpgp/s2k/s2k.go
+++ b/openpgp/s2k/s2k.go
@@ -53,7 +53,7 @@ func (c *Config) hash() crypto.Hash {
func (c *Config) encodedCount() uint8 {
if c == nil || c.S2KCount == 0 {
- return 96 // The common case. Correspoding to 65536
+ return 96 // The common case. Corresponding to 65536
}
i := c.S2KCount