summaryrefslogtreecommitdiff
path: root/contrib/python/examples/ldns-keygen.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python/examples/ldns-keygen.py')
-rwxr-xr-xcontrib/python/examples/ldns-keygen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/examples/ldns-keygen.py b/contrib/python/examples/ldns-keygen.py
index 3ddf41a946e6..71375fce205c 100755
--- a/contrib/python/examples/ldns-keygen.py
+++ b/contrib/python/examples/ldns-keygen.py
@@ -7,7 +7,7 @@ import ldns
algorithm = ldns.LDNS_SIGN_DSA
bits = 512
-ldns.ldns_init_random(open("/dev/random","rb"), (bits+7)//8)
+ldns.ldns_init_random(open("/dev/urandom","rb"), (bits+7)//8)
domain = ldns.ldns_dname("example.")