Skip to content

Commit bc8cfee

Browse files
committed
fix: TABLE is only enabled for feature="stream-cipher"
1 parent b5f3065 commit bc8cfee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/shadowsocks/src/config.rs

+1
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ where
405405
{
406406
let password = password.into();
407407

408+
#[cfg(feature = "stream-cipher")]
408409
if method == CipherKind::SS_TABLE {
409410
// TABLE cipher doesn't need key derivation.
410411
// Reference implemenation: shadowsocks-libev, shadowsocks (Python)

0 commit comments

Comments
 (0)