From be045f1687a36fcb16fcf682164df5edd970bfda Mon Sep 17 00:00:00 2001 From: clowwindy Date: Fri, 31 Oct 2014 19:10:29 +0800 Subject: [PATCH] fix import --- shadowsocks/crypto/rc4_md5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/crypto/rc4_md5.py b/shadowsocks/crypto/rc4_md5.py index e8888b1..daa6ba5 100644 --- a/shadowsocks/crypto/rc4_md5.py +++ b/shadowsocks/crypto/rc4_md5.py @@ -47,7 +47,7 @@ def create_cipher(alg, key, iv, op, key_as_bytes=0, d=None, salt=None, d='md5', salt=None, i=1, padding=1) except: m2_not_found = True - import ctypes_openssl + from shadowsocks.crypto import ctypes_openssl return ctypes_openssl.CtypesCrypto('rc4', rc4_key, '', op)