Skip to content

Commit

Permalink
Merge pull request #89 from atc0005/fix-typo-in-doc-comment
Browse files Browse the repository at this point in the history
Fix typo in IsErrEncryptedKey doc comment
  • Loading branch information
thaJeztah authored Jul 27, 2021
2 parents 85709ff + f82d5a5 commit ca1f92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tlsconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ca1f92b

Please sign in to comment.