2022-08-19 15:42:57 +08:00
|
|
|
//go:build !with_acme
|
|
|
|
|
|
2022-09-09 18:45:10 +08:00
|
|
|
package tls
|
2022-08-19 15:42:57 +08:00
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
"crypto/tls"
|
|
|
|
|
|
|
|
|
|
"github.com/sagernet/sing-box/adapter"
|
|
|
|
|
"github.com/sagernet/sing-box/option"
|
|
|
|
|
E "github.com/sagernet/sing/common/exceptions"
|
2025-06-29 18:44:11 +08:00
|
|
|
"github.com/sagernet/sing/common/logger"
|
2022-08-19 15:42:57 +08:00
|
|
|
)
|
|
|
|
|
|
2025-03-29 17:24:34 +08:00
|
|
|
func startACME(ctx context.Context, logger logger.Logger, options option.InboundACMEOptions) (*tls.Config, adapter.SimpleLifecycle, error) {
|
2022-08-19 15:42:57 +08:00
|
|
|
return nil, nil, E.New(`ACME is not included in this build, rebuild with -tags with_acme`)
|
|
|
|
|
}
|