fix import

This commit is contained in:
clowwindy 2014-10-31 19:10:29 +08:00
parent 497524b313
commit be045f1687

View file

@ -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)