From e5824be14579c8d8d32b6814fbbf03eddf6abef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=B4=E5=A8=83=E9=85=B1?= Date: Tue, 25 Oct 2016 00:45:19 +0800 Subject: [PATCH] fix none encrypt key size --- shadowsocks/crypto/table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/crypto/table.py b/shadowsocks/crypto/table.py index c5d613f..fd6aa94 100644 --- a/shadowsocks/crypto/table.py +++ b/shadowsocks/crypto/table.py @@ -73,7 +73,7 @@ class NoneCipher(object): return data ciphers = { - 'none': (0, 0, NoneCipher), + 'none': (16, 0, NoneCipher), 'table': (0, 0, TableCipher) }