Files
sing-box/common/tls/windows_client_stub.go
2026-07-09 11:19:13 +08:00

16 lines
446 B
Go

//go:build !windows
package tls
import (
"context"
"github.com/sagernet/sing-box/option"
E "github.com/sagernet/sing/common/exceptions"
"github.com/sagernet/sing/common/logger"
)
func newWindowsClient(ctx context.Context, logger logger.ContextLogger, serverAddress string, options option.OutboundTLSOptions, allowEmptyServerName bool) (Config, error) {
return nil, E.New("Windows TLS engine is not available on non-Windows platforms")
}