patch-src_lib_crypto_krb_prng_prng_c 485 B

1234567891011
  1. --- krb5-1.9.orig/src/lib/crypto/krb/prng/prng.c
  2. +++ krb5-1.9/src/lib/crypto/krb/prng/prng.c
  3. @@ -168,7 +168,7 @@
  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"))