sing-box/common/badtls/read_wait_stub.go

14 lines
197 B
Go
Raw Normal View History

//go:build !go1.21 || without_badtls
package badtls
import (
"os"
"github.com/sagernet/sing/common/tls"
)
func NewReadWaitConn(conn tls.Conn) (tls.Conn, error) {
return nil, os.ErrInvalid
}