summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-13 18:27:42 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-13 18:27:42 +0000
commit5390192a2db5b3ca1e3f2816b798bc381c1f8fec (patch)
tree819ebb9e28275e9674f743e71abbfbfb417f8ddc /src
parent3030ced51daf552f94d7a2ce2aeb6b53c11f1070 (diff)
downloadbcfg2-5390192a2db5b3ca1e3f2816b798bc381c1f8fec.tar.gz
bcfg2-5390192a2db5b3ca1e3f2816b798bc381c1f8fec.tar.bz2
bcfg2-5390192a2db5b3ca1e3f2816b798bc381c1f8fec.zip
...
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3443 ce84e21b-d406-0410-9b95-82705330c041
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: