patch-src_lib_crypto_krb_prng_c 642 B

12345678910111213
  1. --- krb5-1.11.3.orig/src/lib/crypto/krb/prng.c 2013-06-03 23:39:43.000000000 +0200
  2. +++ krb5-1.11.3/src/lib/crypto/krb/prng.c 2013-08-14 14:12:20.000000000 +0200
  3. @@ -138,10 +138,6 @@ krb5_c_random_os_entropy(krb5_context co
  4. guaranteed to cause a reseed of some kind if strong is true and
  5. we have both /dev/random and /dev/urandom. We want the strong
  6. data included in the reseed so we get it first.*/
  7. - if (strong) {
  8. - if (add_entropy_from_device(context, "/dev/random"))
  9. - *oursuccess = 1;
  10. - }
  11. if (add_entropy_from_device(context, "/dev/urandom"))
  12. *oursuccess = 1;
  13. return 0;