Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xray/api.go')
-rw-r--r--xray/api.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/xray/api.go b/xray/api.go
index 277571f4..bfb64665 100644
--- a/xray/api.go
+++ b/xray/api.go
@@ -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":