summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/lib/tlslite/utils/cryptomath.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/tlslite/utils/cryptomath.py b/src/lib/tlslite/utils/cryptomath.py
index fa02823bb..9b6f0495f 100755
--- a/src/lib/tlslite/utils/cryptomath.py
+++ b/src/lib/tlslite/utils/cryptomath.py
@@ -102,6 +102,7 @@ except:
# Else see if we ahve Pprngd running
try:
def getRandomBytes(howMany):
+ from prngd import PRNGD
try:
p = PRNGD(sockname="/var/run/egd-pool")
except: