|
@@ -340,7 +340,7 @@ func (c *CertChecker) Authenticate(conn ConnMetadata, pubKey PublicKey) (*Permis
|
|
|
// the signature of the certificate.
|
|
// the signature of the certificate.
|
|
|
func (c *CertChecker) CheckCert(principal string, cert *Certificate) error {
|
|
func (c *CertChecker) CheckCert(principal string, cert *Certificate) error {
|
|
|
if c.IsRevoked != nil && c.IsRevoked(cert) {
|
|
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 {
|
|
for opt := range cert.CriticalOptions {
|