()
| 957 | } |
| 958 | |
| 959 | func (c *TLSConfig) roundTripperSettings() TLSRoundTripperSettings { |
| 960 | return TLSRoundTripperSettings{ |
| 961 | CA: c.CA, |
| 962 | CAFile: c.CAFile, |
| 963 | Cert: c.Cert, |
| 964 | CertFile: c.CertFile, |
| 965 | Key: string(c.Key), |
| 966 | KeyFile: c.KeyFile, |
| 967 | } |
| 968 | } |
| 969 | |
| 970 | // getClientCertificate reads the pair of client cert and key from disk and returns a tls.Certificate. |
| 971 | func (c *TLSConfig) getClientCertificate(_ *tls.CertificateRequestInfo) (*tls.Certificate, error) { |
no outgoing calls
no test coverage detected