diff options
Diffstat (limited to 'openpgp')
| -rw-r--r-- | openpgp/packet/opaque_test.go | 2 | ||||
| -rw-r--r-- | openpgp/s2k/s2k.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/packet/opaque_test.go b/openpgp/packet/opaque_test.go index 61159f4..06a3bbf 100644 --- a/openpgp/packet/opaque_test.go +++ b/openpgp/packet/opaque_test.go @@ -51,7 +51,7 @@ func TestOpaqueParseReason(t *testing.T) { const expectedBad = 3 // Test post-conditions, make sure we actually parsed packets as expected. if badPackets != expectedBad { - t.Errorf("unexpected # unparseable packets: %d (want %d)", badPackets, expectedBad) + t.Errorf("unexpected # unparsable packets: %d (want %d)", badPackets, expectedBad) } if uid == nil { t.Errorf("failed to find expected UID in unsupported keyring") 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 |
