From cbbc880f44902e657f26ed470c18b4c3325dcfc0 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Thu, 11 Dec 2014 23:22:48 +0800 Subject: [PATCH] try to find the problem --- shadowsocks/encrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/encrypt.py b/shadowsocks/encrypt.py index d5b1535..82baa1a 100644 --- a/shadowsocks/encrypt.py +++ b/shadowsocks/encrypt.py @@ -181,8 +181,8 @@ def test_encryptor(): for method in CIPHERS_TO_TEST: logging.warn(method) encryptor = Encryptor(b'key', method) - cipher = encryptor.encrypt(plain) decryptor = Encryptor(b'key', method) + cipher = encryptor.encrypt(plain) plain2 = decryptor.decrypt(cipher) assert plain == plain2