Browse Source

fix import

auth
clowwindy 10 years ago
parent
commit
be045f1687
  1. 2
      shadowsocks/crypto/rc4_md5.py

2
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) 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…
Cancel
Save