summaryrefslogtreecommitdiff
path: root/paramiko/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/common.py')
-rw-r--r--paramiko/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/common.py b/paramiko/common.py
index 7a37463..3323f0a 100644
--- a/paramiko/common.py
+++ b/paramiko/common.py
@@ -95,10 +95,10 @@ CONNECTION_FAILED_CODE = {
DISCONNECT_SERVICE_NOT_AVAILABLE, DISCONNECT_AUTH_CANCELLED_BY_USER, \
DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE = 7, 13, 14
-from rng import StrongLockingRandomPool
+from Crypto import Random
# keep a crypto-strong PRNG nearby
-randpool = StrongLockingRandomPool()
+rng = Random.new()
import sys
if sys.version_info < (2, 3):