Skip to content

Commit

Permalink
crypto/ssh: fix typo in error message in certs.go
Browse files Browse the repository at this point in the history
Fixes golang/go#23266

Change-Id: I8da14425ed69c44a7b0c56b1aa0ea951fe297608
Reviewed-on: https://go-review.googlesource.com/85595
Reviewed-by: Emmanuel Odeke <[email protected]>
Run-TryBot: Emmanuel Odeke <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
  • Loading branch information
m4ns0ur authored and odeke-em committed Dec 28, 2017
1 parent d585fd2 commit 95a4943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh/certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ func (c *CertChecker) Authenticate(conn ConnMetadata, pubKey PublicKey) (*Permis
// the signature of the certificate.
func (c *CertChecker) CheckCert(principal string, cert *Certificate) error {
if c.IsRevoked != nil && c.IsRevoked(cert) {
return fmt.Errorf("ssh: certicate serial %d revoked", cert.Serial)
return fmt.Errorf("ssh: certificate serial %d revoked", cert.Serial)
}

for opt := range cert.CriticalOptions {
Expand Down

0 comments on commit 95a4943

Please sign in to comment.