FreeBSD Bugzilla – Attachment 196542 Details for
Bug 230756
[exp-run] Remove arc4random_stir and arc4random_addrandom
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Oops, revised patch for gtk-gnutella for real this time.
gtk-gnutella.patch (text/plain), 2.01 KB, created by
Xin LI
on 2018-08-25 19:54:03 UTC
(
hide
)
Description:
Oops, revised patch for gtk-gnutella for real this time.
Filename:
MIME Type:
Creator:
Xin LI
Created:
2018-08-25 19:54:03 UTC
Size:
2.01 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 477847) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= gtk-gnutella > PORTVERSION= 1.1.13 >+PORTREVISION= 1 > CATEGORIES= net-p2p ipv6 > MASTER_SITES= SF > >Index: files/patch-src_lib_arc4random.c >=================================================================== >--- files/patch-src_lib_arc4random.c (nonexistent) >+++ files/patch-src_lib_arc4random.c (working copy) >@@ -0,0 +1,14 @@ >+--- src/lib/arc4random.c.orig 2017-10-22 16:12:09 UTC >++++ src/lib/arc4random.c >+@@ -298,9 +298,11 @@ arc4random64(void) >+ void G_COLD >+ arc4random_stir_once(void) >+ { >++#ifdef arc4random_stir >+ static once_flag_t done; >+ >+ once_flag_run(&done, arc4random_stir); >++#endif >+ } >+ >+ /*** > >Property changes on: files/patch-src_lib_arc4random.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 >Index: files/patch-src_lib_random.c >=================================================================== >--- files/patch-src_lib_random.c (nonexistent) >+++ files/patch-src_lib_random.c (working copy) >@@ -0,0 +1,12 @@ >+--- src/lib/random.c.orig 2017-10-22 16:12:12 UTC >++++ src/lib/random.c >+@@ -1058,7 +1058,9 @@ random_entropy(void *unused) >+ break; >+ case RANDOM_ARC4: >+ RANDOM_STATS_INC(arc4_distributed); >++#ifdef arc4random_addrandom >+ arc4random_addrandom(entropy, (int) ELEN); >++#endif >+ break; >+ case RANDOM_CMWC: >+ RANDOM_STATS_INC(cmwc_distributed); > >Property changes on: files/patch-src_lib_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 230756
:
196358
|
196464
|
196541
| 196542