sing-box/common/badtls/badtls_stub.go

13 lines
154 B
Go
Raw Normal View History

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