diff --git a/tlsconfig/config.go b/tlsconfig/config.go index 1962e890..99296837 100644 --- a/tlsconfig/config.go +++ b/tlsconfig/config.go @@ -132,7 +132,7 @@ func adjustMinVersion(options Options, config *tls.Config) error { } // IsErrEncryptedKey returns true if the 'err' is an error of incorrect -// password when tryin to decrypt a TLS private key +// password when trying to decrypt a TLS private key func IsErrEncryptedKey(err error) bool { return errors.Cause(err) == x509.IncorrectPasswordError }