mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-13 20:28:32 +10:00
16 lines
447 B
Go
16 lines
447 B
Go
//go:build !darwin || !cgo
|
|
|
|
package tls
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/sagernet/sing-box/option"
|
|
E "github.com/sagernet/sing/common/exceptions"
|
|
"github.com/sagernet/sing/common/logger"
|
|
)
|
|
|
|
func newAppleClient(ctx context.Context, logger logger.ContextLogger, serverAddress string, options option.OutboundTLSOptions, allowEmptyServerName bool) (Config, error) {
|
|
return nil, E.New("Apple TLS engine is not available on non-Apple platforms")
|
|
}
|