From 0a0af611814c69680361c60173f5c529d55d3b95 Mon Sep 17 00:00:00 2001 From: Zou Yong Date: Thu, 2 Mar 2017 01:36:21 +0800 Subject: [PATCH] fix test_encrypt_all --- shadowsocks/cryptor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/cryptor.py b/shadowsocks/cryptor.py index 7dcb588..199b776 100644 --- a/shadowsocks/cryptor.py +++ b/shadowsocks/cryptor.py @@ -213,7 +213,7 @@ def test_encrypt_all(): for method in CIPHERS_TO_TEST: logging.warn(method) cipher = encrypt_all(b'key', method, plain) - plain2 = decrypt_all(b'key', method, cipher) + plain2, key, iv = decrypt_all(b'key', method, cipher) assert plain == plain2