summaryrefslogtreecommitdiff
path: root/package/krb5/patches/patch-src_lib_crypto_krb_prng_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 14:44:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 14:44:33 +0200
commit2bdcee2f9aa927118e23f4fb37bcc28adbe1a941 (patch)
treead27a5a87e7a053a986c1a3aa30cc33fbb61f1ac /package/krb5/patches/patch-src_lib_crypto_krb_prng_c
parentf6060c06d2921f1c832751981b55fa9fe678d167 (diff)
update to latest upstream version
Diffstat (limited to 'package/krb5/patches/patch-src_lib_crypto_krb_prng_c')
-rw-r--r--package/krb5/patches/patch-src_lib_crypto_krb_prng_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/krb5/patches/patch-src_lib_crypto_krb_prng_c b/package/krb5/patches/patch-src_lib_crypto_krb_prng_c
new file mode 100644
index 000000000..25234e88c
--- /dev/null
+++ b/package/krb5/patches/patch-src_lib_crypto_krb_prng_c
@@ -0,0 +1,13 @@
+--- krb5-1.11.3.orig/src/lib/crypto/krb/prng.c 2013-06-03 23:39:43.000000000 +0200
++++ krb5-1.11.3/src/lib/crypto/krb/prng.c 2013-08-14 14:12:20.000000000 +0200
+@@ -138,10 +138,6 @@ krb5_c_random_os_entropy(krb5_context co
+ guaranteed to cause a reseed of some kind if strong is true and
+ 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 (add_entropy_from_device(context, "/dev/random"))
+- *oursuccess = 1;
+- }
+ if (add_entropy_from_device(context, "/dev/urandom"))
+ *oursuccess = 1;
+ return 0;