mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
fix: TABLE is only enabled for feature="stream-cipher"
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user