diff --git a/infra/conf/shadowsocks.go b/infra/conf/shadowsocks.go index f0e778d5..422b1903 100644 --- a/infra/conf/shadowsocks.go +++ b/infra/conf/shadowsocks.go @@ -59,7 +59,7 @@ func (v *ShadowsocksServerConfig) Build() (proto.Message, error) { return nil, newError("Shadowsocks password is not specified.") } if account.CipherType < shadowsocks.CipherType_AES_128_GCM || - account.CipherType > shadowsocks.CipherType_CHACHA20_POLY1305 { + account.CipherType > shadowsocks.CipherType_XCHACHA20_POLY1305 { return nil, newError("unsupported cipher method: ", user.Cipher) } config.Users = append(config.Users, &protocol.User{