sing-box/common/badtls/badtls_stub.go

15 lines
201 B
Go
Raw Normal View History

2023-04-18 19:56:01 +08:00
//go:build !go1.19 || go1.21
2022-09-30 11:27:18 +08:00
package badtls
import (
"crypto/tls"
"os"
2023-08-11 15:44:04 +08:00
aTLS "github.com/sagernet/sing/common/tls"
2022-09-30 11:27:18 +08:00
)
2023-08-11 15:44:04 +08:00
func Create(conn *tls.Conn) (aTLS.Conn, error) {
2022-09-30 11:27:18 +08:00
return nil, os.ErrInvalid
}