Remove TLS min version for shadowtls v3

This commit is contained in:
世界 2023-02-18 19:26:05 +08:00
parent ec4a0c8497
commit 67814faf92
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -56,8 +56,6 @@ func NewShadowTLS(ctx context.Context, router adapter.Router, logger log.Context
options.TLS.MaxVersion = "1.2" options.TLS.MaxVersion = "1.2"
case 2: case 2:
case 3: case 3:
options.TLS.MinVersion = "1.3"
options.TLS.MaxVersion = "1.3"
default: default:
return nil, E.New("unknown shadowtls protocol version: ", options.Version) return nil, E.New("unknown shadowtls protocol version: ", options.Version)
} }