sing-box/common/badtls/badtls_stub.go

13 lines
154 B
Go
Raw Normal View History

2022-09-30 11:27:18 +08:00
//go:build !go1.19 || go1.20
package badtls
import (
"crypto/tls"
"os"
)
func Create(conn *tls.Conn) (TLSConn, error) {
return nil, os.ErrInvalid
}