From 1239f928f1663a27bafb6b3ea77a121bc008a4e9 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Wed, 23 Apr 2014 19:38:18 +0800 Subject: [PATCH] lint code --- shadowsocks/encrypt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shadowsocks/encrypt.py b/shadowsocks/encrypt.py index 5fdaeff..4535123 100644 --- a/shadowsocks/encrypt.py +++ b/shadowsocks/encrypt.py @@ -201,8 +201,8 @@ def encrypt_all(password, method, op, data): iv = data[:iv_len] data = data[iv_len:] cipher = M2Crypto.EVP.Cipher(method.replace('-', '_'), key, iv, op, - key_as_bytes=0, d='md5', salt=None, i=1, - padding=1) + key_as_bytes=0, d='md5', salt=None, i=1, + padding=1) result.append(cipher.update(data)) f = cipher.final() if f: