File tree 1 file changed +0
-12
lines changed
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -47,21 +47,12 @@ import (
47
47
type TLSInfo struct {
48
48
CertFile string
49
49
KeyFile string
50
- CAFile string // TODO: deprecate this in v4
51
50
TrustedCAFile string
52
- ClientCertAuth bool
53
- CRLFile string
54
51
InsecureSkipVerify bool
55
52
56
- SkipClientSANVerify bool
57
-
58
53
// ServerName ensures the cert matches the given host in case of discovery / virtual hosting
59
54
ServerName string
60
55
61
- // HandshakeFailure is optionally called when a connection fails to handshake. The
62
- // connection will be closed immediately afterwards.
63
- HandshakeFailure func (* tls.Conn , error )
64
-
65
56
// CipherSuites is a list of supported cipher suites.
66
57
// If empty, Go auto-populates it by default.
67
58
// Note that cipher suites are prioritized in the given order.
@@ -157,9 +148,6 @@ func (info TLSInfo) baseConfig() (*tls.Config, error) {
157
148
// cafiles returns a list of CA file paths.
158
149
func (info TLSInfo ) cafiles () []string {
159
150
cs := make ([]string , 0 )
160
- if info .CAFile != "" {
161
- cs = append (cs , info .CAFile )
162
- }
163
151
if info .TrustedCAFile != "" {
164
152
cs = append (cs , info .TrustedCAFile )
165
153
}
You can’t perform that action at this time.
0 commit comments