Skip to content

Commit ca1f92b

Browse files
authored
Merge pull request #89 from atc0005/fix-typo-in-doc-comment
Fix typo in IsErrEncryptedKey doc comment
2 parents 85709ff + f82d5a5 commit ca1f92b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tlsconfig/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func adjustMinVersion(options Options, config *tls.Config) error {
132132
}
133133

134134
// IsErrEncryptedKey returns true if the 'err' is an error of incorrect
135-
// password when tryin to decrypt a TLS private key
135+
// password when trying to decrypt a TLS private key
136136
func IsErrEncryptedKey(err error) bool {
137137
return errors.Cause(err) == x509.IncorrectPasswordError
138138
}

0 commit comments

Comments
 (0)