From f82d5a5b3d1f1bbdbc38c1967a5bf557cf4d242f Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Thu, 22 Jul 2021 06:25:20 -0500 Subject: [PATCH] Fix typo in IsErrEncryptedKey doc comment Spotted while reading over the documentation. Signed-off-by: Adam Chalkley --- tlsconfig/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }