sing-box/common/badtls/badtls_stub.go
2023-08-20 13:31:48 +08:00

15 lines
201 B
Go

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