sing-box/common/badtls/badtls_stub.go

15 lines
201 B
Go
Raw Normal View History

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