diff options
author | Xin LI <delphij@FreeBSD.org> | 2018-08-26 08:26:41 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2018-08-26 08:26:41 +0000 |
commit | 6b1e8d6ab746f76406513e5390d872d84ccfacfe (patch) | |
tree | 3c5cd43463cb596259e1204d271354ed7f331bf1 /textproc/htmldoc/files | |
parent | net/relayd: Stop using arc4random_stir (diff) |
textproc/htmldoc: Do not use arc4random_stir.
(Note that there is an updated version which will solve this too, but I
am committing this one and will rebase the patch in bug 223721 as it still
needs maintainer approval).
PR: 230831, 230756
Approved by: portmgr (antoine)
Notes
Notes:
svn path=/head/; revision=478107
Diffstat (limited to 'textproc/htmldoc/files')
-rw-r--r-- | textproc/htmldoc/files/patch-htmldoc__http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textproc/htmldoc/files/patch-htmldoc__http.c b/textproc/htmldoc/files/patch-htmldoc__http.c index 642469c2303e..c9c86063808c 100644 --- a/textproc/htmldoc/files/patch-htmldoc__http.c +++ b/textproc/htmldoc/files/patch-htmldoc__http.c @@ -5,7 +5,7 @@ * 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() ++#define CUPS_SRAND(v) CUPS_SRAND(time(NULL)); |