From 48402ec7bb4e7b369a0db642e91c140cae8ca1a8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 29 Jan 2011 21:07:47 +0100 Subject: use urandom in both cases, otherwise i get problems on a foxboard --- package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c (limited to 'package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c') 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")) -- cgit v1.2.3 From 5ae019d73004c03e1e53bbdf5ea1f2315fb4b883 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 2 Feb 2011 22:02:11 +0100 Subject: avoid extra include dir, now cross-compile and native compile is possible. add acl example file --- package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c') 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 index f0879d58d..e7686248f 100644 --- a/package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c +++ b/package/krb5/patches/patch-src_lib_crypto_krb_prng_prng_c @@ -1,6 +1,6 @@ ---- 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 @@ +--- krb5-1.9.orig/src/lib/crypto/krb/prng/prng.c 2010-10-05 05:18:22.000000000 +0200 ++++ krb5-1.9/src/lib/crypto/krb/prng/prng.c 2011-01-30 22:37:36.000000000 +0100 +@@ -168,7 +168,7 @@ krb5_c_random_os_entropy(krb5_context co we have both /dev/random and /dev/urandom. We want the strong data included in the reseed so we get it first.*/ if (strong) { -- cgit v1.2.3