Skip to content

Commit

Permalink
Crypto.Util.randpool is not available in pycryptodome
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef-Friedrich committed Jul 24, 2020
1 parent bd326a0 commit c9d3ff9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jflib/send_nsca.py
Expand Up @@ -82,7 +82,8 @@
import Crypto.Cipher.DES
import Crypto.Cipher.DES3
import Crypto.Cipher.CAST
import Crypto.Util.randpool
# pycryptodome has no randpool
# import Crypto.Util.randpool
except ImportError:
from unittest.mock import Mock
Crypto = Mock()
Expand Down

0 comments on commit c9d3ff9

Please sign in to comment.