SS: remove unsupported cipher method

This commit is contained in:
MHSanaei
2026-04-22 21:44:39 +02:00
parent 530c1597b8
commit ff25072690
2 changed files with 0 additions and 5 deletions

View File

@@ -208,10 +208,6 @@ func (x *XrayAPI) AddUser(Protocol string, inboundTag string, user map[string]an
var ssCipherType shadowsocks.CipherType
switch cipher {
case "aes-128-gcm":
ssCipherType = shadowsocks.CipherType_AES_128_GCM
case "aes-256-gcm":
ssCipherType = shadowsocks.CipherType_AES_256_GCM
case "chacha20-poly1305", "chacha20-ietf-poly1305":
ssCipherType = shadowsocks.CipherType_CHACHA20_POLY1305
case "xchacha20-poly1305", "xchacha20-ietf-poly1305":