From 95a4943f35d008beabde8c11e5075a1b714e6419 Mon Sep 17 00:00:00 2001 From: Mansour Rahimi Date: Thu, 28 Dec 2017 08:19:06 +0100 Subject: [PATCH] crypto/ssh: fix typo in error message in certs.go Fixes golang/go#23266 Change-Id: I8da14425ed69c44a7b0c56b1aa0ea951fe297608 Reviewed-on: https://go-review.googlesource.com/85595 Reviewed-by: Emmanuel Odeke Run-TryBot: Emmanuel Odeke TryBot-Result: Gobot Gobot --- ssh/certs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/certs.go b/ssh/certs.go index 5c9fadcee3..cfc8ead1bc 100644 --- a/ssh/certs.go +++ b/ssh/certs.go @@ -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 {