Skip to content

x/crypto/ssh: typo in error message in ssh/certs.go #23266

Closed
@parsiya

Description

The error message in CheckCert function in ssh/certs.go#L343 has a typo.

When an SSH certificate is revoked (IsRevoked callback in CertCheck is set and returns true), the following error message is returned:

return fmt.Errorf("ssh: certicate serial %d revoked", cert.Serial)

certicate should be certificate.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions