disable M2Crypto on Python 3
This commit is contained in:
parent
3e503bf677
commit
810db996cd
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ try:
|
|||
__import__('M2Crypto')
|
||||
except ImportError:
|
||||
has_m2 = False
|
||||
if bytes != str:
|
||||
has_m2 = False
|
||||
|
||||
|
||||
def create_cipher(alg, key, iv, op, key_as_bytes=0, d=None, salt=None, i=1,
|
||||
|
|
Loading…
Reference in a new issue