From 044e7029986a060552770feb1687b00862f1a6ba Mon Sep 17 00:00:00 2001 From: Gary van der Merwe Date: Tue, 3 Aug 2010 00:13:08 +0200 Subject: Use Crypto.Random rather than Crypto.Util.RandomPool. --- tests/test_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_util.py') diff --git a/tests/test_util.py b/tests/test_util.py index 3569abf8..256c3d7c 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -147,8 +147,8 @@ class UtilTest (unittest.TestCase): os.unlink('hostfile.temp') def test_6_random(self): - from paramiko.common import randpool + from paramiko.common import rng # just verify that we can pull out 32 bytes and not get an exception. - x = randpool.get_bytes(32) + x = rng.read(32) self.assertEquals(len(x), 32) -- cgit v1.2.3