Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acme, sha3, ssh: fix the typos #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions acme/autocert/renewal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,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 Expand Up @@ -244,7 +244,7 @@ func TestRenewFromCacheAlreadyRenewed(t *testing.T) {
man.state[exampleCertKey] = s
man.stateMu.Unlock()

// veriy the renewal accepted the newer cached cert
// verify the renewal accepted the newer cached cert
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