diff --git a/crates/shadowsocks/src/config.rs b/crates/shadowsocks/src/config.rs index 27437372b5d..405c01b0a47 100644 --- a/crates/shadowsocks/src/config.rs +++ b/crates/shadowsocks/src/config.rs @@ -405,6 +405,7 @@ where { let password = password.into(); + #[cfg(feature = "stream-cipher")] if method == CipherKind::SS_TABLE { // TABLE cipher doesn't need key derivation. // Reference implemenation: shadowsocks-libev, shadowsocks (Python)