diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-29 21:07:47 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-29 21:07:47 +0100 |
commit | 48402ec7bb4e7b369a0db642e91c140cae8ca1a8 (patch) | |
tree | ebe02a1b91c91da0123b5eb0b4dfcc587a227fac /package/krb5 | |
parent | 1e38e7fa943d16dde6dfee258bb97e9a1768f5f2 (diff) |
use urandom in both cases, otherwise i get problems on a foxboard
Diffstat (limited to 'package/krb5')
-rw-r--r-- | package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c b/package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c new file mode 100644 index 000000000..f0879d58d --- /dev/null +++ b/package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c @@ -0,0 +1,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")) |