Skip to content

Commit

Permalink
Fix typo in debug message (drive-by)
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleasa committed Jun 17, 2020
1 parent f35ef20 commit 1389221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pki/tls/sni.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type Logger interface {
// supplied authority that best matches the client hellow message.
func AuthoritySNITLSGetter(authority pki.Authority, logger Logger) func(*tls.ClientHelloInfo) (*tls.Certificate, error) {
return func(hello *tls.ClientHelloInfo) (*tls.Certificate, error) {
logger.Debugf("recieved tls client hello for server name %s", hello.ServerName)
logger.Debugf("received tls client hello for server name %s", hello.ServerName)
var cert *tls.Certificate
authority.LeafRange(func(leaf pki.Leaf) bool {
if err := hello.SupportsCertificate(leaf.TLSCertificate()); err == nil {
Expand Down

0 comments on commit 1389221

Please sign in to comment.