59d8b6ecef
Closes https://github.com/ooni/probe/issues/2253 Co-authored-by: decfox <decfox@github.com>
16 lines
449 B
Go
16 lines
449 B
Go
package measurexlite
|
|
|
|
import (
|
|
"github.com/ooni/probe-cli/v3/internal/model"
|
|
utls "gitlab.com/yawning/utls.git"
|
|
)
|
|
|
|
// NewTLSHandshakerUTLS is equivalent to netxlite.NewTLSHandshakerUTLS
|
|
// except that it returns a model.TLSHandshaker that uses this trace.
|
|
func (tx *Trace) NewTLSHandshakerUTLS(dl model.DebugLogger, id *utls.ClientHelloID) model.TLSHandshaker {
|
|
return &tlsHandshakerTrace{
|
|
thx: tx.newTLSHandshakerUTLS(dl, id),
|
|
tx: tx,
|
|
}
|
|
}
|