refactor: move tlsdialer to netxlite (#404)
Part of https://github.com/ooni/probe/issues/1505
This commit is contained in:
parent
7f2463d745
commit
d031829a4b
9 changed files with 267 additions and 176 deletions
|
|
@ -191,7 +191,7 @@ func NewTLSDialer(config Config) TLSDialer {
|
|||
}
|
||||
config.TLSConfig.RootCAs = config.CertPool
|
||||
config.TLSConfig.InsecureSkipVerify = config.NoTLSVerify
|
||||
return tlsdialer.TLSDialer{
|
||||
return &netxlite.TLSDialer{
|
||||
Config: config.TLSConfig,
|
||||
Dialer: config.Dialer,
|
||||
TLSHandshaker: h,
|
||||
|
|
|
|||
Loading…
Reference in a new issue