aboutsummaryrefslogtreecommitdiff
path: root/textproc/htmldoc/files/patch-htmldoc__http.c
blob: 642469c2303e2d031ab2aac1d2ef15964251f87a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./htmldoc/http.c.orig	2014-01-05 21:41:32.000000000 +0100
+++ ./htmldoc/http.c	2014-01-28 04:47:07.000000000 +0100
@@ -1228,6 +1228,8 @@
   * Using the current time is a dubious random seed, but on some systems
   * it is the best we can do (on others, this seed isn't even used...)
   */
+#define CUPS_RAND() arc4random()
+#define CUPS_SRAND(v) arc4random_stir()
 
   CUPS_SRAND(time(NULL));