diff --git a/common/tls/utls_client.go b/common/tls/utls_client.go index 28fa6298..ba3b2824 100644 --- a/common/tls/utls_client.go +++ b/common/tls/utls_client.go @@ -14,7 +14,6 @@ import ( E "github.com/sagernet/sing/common/exceptions" utls "github.com/refraction-networking/utls" - "context" ) type utlsClientConfig struct { @@ -42,10 +41,6 @@ type utlsConnWrapper struct { *utls.UConn } -func (c *utlsConnWrapper) HandshakeContext(ctx context.Context) error { - return c.UConn.HandshakeContext(ctx) -} - func (c *utlsConnWrapper) ConnectionState() tls.ConnectionState { state := c.Conn.ConnectionState() return tls.ConnectionState{