patch-src_lib_crypto_krb_prng_prng_c 598 B

1234567891011
  1. --- krb5-1.9.orig/src/lib/crypto/krb/prng/prng.c 2010-10-05 05:18:22.000000000 +0200
  2. +++ krb5-1.9/src/lib/crypto/krb/prng/prng.c 2011-01-30 22:37:36.000000000 +0100
  3. @@ -168,7 +168,7 @@ krb5_c_random_os_entropy(krb5_context co
  4. we have both /dev/random and /dev/urandom. We want the strong
  5. data included in the reseed so we get it first.*/
  6. if (strong) {
  7. - if (read_entropy_from_device(context, "/dev/random"))
  8. + if (read_entropy_from_device(context, "/dev/urandom"))
  9. *oursuccess = 1;
  10. }
  11. if (read_entropy_from_device(context, "/dev/urandom"))