mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-14 04:43:17 +00:00
14 lines
197 B
Go
14 lines
197 B
Go
|
//go:build !go1.21 || without_badtls
|
||
|
|
||
|
package badtls
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
|
||
|
"github.com/sagernet/sing/common/tls"
|
||
|
)
|
||
|
|
||
|
func NewReadWaitConn(conn tls.Conn) (tls.Conn, error) {
|
||
|
return nil, os.ErrInvalid
|
||
|
}
|