summaryrefslogtreecommitdiff
path: root/package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c
blob: f0879d58d29b0811eb1bd5f6fc0ca25aef3fff1c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- krb5-1.9.orig/src/lib/crypto/krb/prng/prng.c
+++ krb5-1.9/src/lib/crypto/krb/prng/prng.c
@@ -168,7 +168,7 @@
        we have both /dev/random and /dev/urandom.  We want the strong
        data included in the reseed so we get it first.*/
     if (strong) {
-        if (read_entropy_from_device(context, "/dev/random"))
+        if (read_entropy_from_device(context, "/dev/urandom"))
             *oursuccess = 1;
     }
     if (read_entropy_from_device(context, "/dev/urandom"))