Skip to content

Commit

Permalink
acme, sha3, ssh: fix the typos
Browse files Browse the repository at this point in the history
Change-Id: I2287ab3492c105791b03f40d45b5dff5a56aa32a
GitHub-Last-Rev: 02cdf82
GitHub-Pull-Request: golang#183
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/319269
Trust: Alberto Donizetti <[email protected]>
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
howjmay authored and owenthereal committed Mar 5, 2022
1 parent f0b4878 commit 4fb17ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion acme/autocert/renewal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func TestRenewFromCache(t *testing.T) {
t.Fatal(err)
}

// veriy the renewal happened
// verify the renewal happened
defer func() {
testDidRenewLoop = func(next time.Duration, err error) {}
}()
Expand Down
2 changes: 1 addition & 1 deletion sha3/sha3.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (d *state) permute() {
d.buf = d.storage.asBytes()[:0]
keccakF1600(&d.a)
case spongeSqueezing:
// If we're squeezing, we need to apply the permutatin before
// If we're squeezing, we need to apply the permutation before
// copying more output.
keccakF1600(&d.a)
d.buf = d.storage.asBytes()[:d.rate]
Expand Down
2 changes: 1 addition & 1 deletion ssh/agent/keyring.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (r *keyring) Unlock(passphrase []byte) error {

// expireKeysLocked removes expired keys from the keyring. If a key was added
// with a lifetimesecs contraint and seconds >= lifetimesecs seconds have
// ellapsed, it is removed. The caller *must* be holding the keyring mutex.
// elapsed, it is removed. The caller *must* be holding the keyring mutex.
func (r *keyring) expireKeysLocked() {
for _, k := range r.keys {
if k.expire != nil && time.Now().After(*k.expire) {
Expand Down

0 comments on commit 4fb17ec

Please sign in to comment.