Skip to content

Commit

Permalink
Review comments #1.
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars committed Apr 8, 2020
1 parent 51c88f5 commit 6a8db80
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions credentials/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ func NewTLS(c *tls.Config) TransportCredentials {

// NewClientTLSFromCert constructs TLS credentials from the provided root
// certificate authority certificate(s) to validate server connections. If
// certificates to establish the identity of the client need to included in the
// credentials (eg: for mTLS), use NewTLS instead, where a complete tls.Config
// can be specified.
// certificates to establish the identity of the client need to be included in
// the credentials (eg: for mTLS), use NewTLS instead, where a complete
// tls.Config can be specified.
// serverNameOverride is for testing only. If set to a non empty string,
// it will override the virtual host name of authority (e.g. :authority header
// field) in requests.
Expand All @@ -149,9 +149,9 @@ func NewClientTLSFromCert(cp *x509.CertPool, serverNameOverride string) Transpor

// NewClientTLSFromFile constructs TLS credentials from the provided root
// certificate authority certificate file(s) to validate server connections. If
// certificates to establish the identity of the client need to included in the
// credentials (eg: for mTLS), use NewTLS instead, where a complete tls.Config
// can be specified.
// certificates to establish the identity of the client need to be included in
// the credentials (eg: for mTLS), use NewTLS instead, where a complete
// tls.Config can be specified.
// serverNameOverride is for testing only. If set to a non empty string,
// it will override the virtual host name of authority (e.g. :authority header
// field) in requests.
Expand Down

0 comments on commit 6a8db80

Please sign in to comment.