fe3e6af225
a few new features. A few of our patches were accepted upstream. Add an -ri_docs multipackage to hold the ri documentation files. These aren't used very often, slow down installation significantly, and bloat the package. This also fixes the conflict marker for the -tk multipackage.
13 lines
424 B
Plaintext
13 lines
424 B
Plaintext
$OpenBSD: patch-random_c,v 1.2 2011/11/08 23:38:57 jeremy Exp $
|
|
--- random.c.orig Wed Jul 20 15:11:56 2011
|
|
+++ random.c Sun Oct 30 19:07:09 2011
|
|
@@ -504,7 +504,7 @@ fill_random_seed(unsigned int seed[DEFAULT_SEED_CNT])
|
|
memset(seed, 0, DEFAULT_SEED_LEN);
|
|
|
|
#if USE_DEV_URANDOM
|
|
- if ((fd = open("/dev/urandom", O_RDONLY
|
|
+ if ((fd = open("/dev/arandom", O_RDONLY
|
|
#ifdef O_NONBLOCK
|
|
|O_NONBLOCK
|
|
#endif
|