FreeBSD Bugzilla – Attachment 196453 Details for
Bug 230825
[PATCH] dns/samba-nsupdate: Stop using arc4random_addrandom
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
samba-nsupdate.patch (text/plain), 1.16 KB, created by
Xin LI
on 2018-08-23 02:41:18 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Xin LI
Created:
2018-08-23 02:41:18 UTC
Size:
1.16 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 477847) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > > PORTNAME= nsupdate > PORTVERSION= 9.8.6 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= dns net ipv6 > MASTER_SITES= ISC/bind9/${ISCVERSION} > PKGNAMEPREFIX= samba- >Index: files/patch-lib_isc_random.c >=================================================================== >--- files/patch-lib_isc_random.c (nonexistent) >+++ files/patch-lib_isc_random.c (working copy) >@@ -0,0 +1,12 @@ >+--- lib/isc/random.c.orig 2013-09-05 05:19:53 UTC >++++ lib/isc/random.c >+@@ -68,7 +68,9 @@ isc_random_seed(isc_uint32_t seed) >+ #ifndef HAVE_ARC4RANDOM >+ srand(seed); >+ #else >++#ifdef arc4random_addrandom >+ arc4random_addrandom((u_char *) &seed, sizeof(isc_uint32_t)); >++#endif >+ #endif >+ } >+ > >Property changes on: files/patch-lib_isc_random.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230825
: 196453