Fix typo.
This commit is contained in:
parent
f1f6c548ad
commit
e0fff4d80b
1 changed files with 2 additions and 2 deletions
|
@ -76,14 +76,14 @@ func (c *mutableTLSConfig) Reload() {
|
|||
c.Unlock()
|
||||
}
|
||||
|
||||
// AddImmutableClientCACert add an in-mutable cert to ClientCAs.
|
||||
// AddImmutableClientCACert add an immutable cert to ClientCAs.
|
||||
func (c *mutableTLSConfig) AddImmutableClientCACert(cert *x509.Certificate) {
|
||||
c.Lock()
|
||||
c.clientCerts = append(c.clientCerts, cert)
|
||||
c.Unlock()
|
||||
}
|
||||
|
||||
// AddImmutableRootCACert add an in-mutable cert to RootCas.
|
||||
// AddImmutableRootCACert add an immutable cert to RootCas.
|
||||
func (c *mutableTLSConfig) AddImmutableRootCACert(cert *x509.Certificate) {
|
||||
c.Lock()
|
||||
c.rootCerts = append(c.rootCerts, cert)
|
||||
|
|
Loading…
Reference in a new issue