mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 08:31:30 +00:00
Remove TLS min version for shadowtls v3
This commit is contained in:
parent
ec4a0c8497
commit
67814faf92
|
@ -56,8 +56,6 @@ func NewShadowTLS(ctx context.Context, router adapter.Router, logger log.Context
|
|||
options.TLS.MaxVersion = "1.2"
|
||||
case 2:
|
||||
case 3:
|
||||
options.TLS.MinVersion = "1.3"
|
||||
options.TLS.MaxVersion = "1.3"
|
||||
default:
|
||||
return nil, E.New("unknown shadowtls protocol version: ", options.Version)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue