fix import
This commit is contained in:
parent
497524b313
commit
be045f1687
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
d='md5', salt=None, i=1, padding=1)
|
||||||
except:
|
except:
|
||||||
m2_not_found = True
|
m2_not_found = True
|
||||||
import ctypes_openssl
|
from shadowsocks.crypto import ctypes_openssl
|
||||||
return ctypes_openssl.CtypesCrypto('rc4', rc4_key, '', op)
|
return ctypes_openssl.CtypesCrypto('rc4', rc4_key, '', op)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue