Loading...
gen/FreeBSD/arc4random.c.patch Libc-763.12 Libc-594.9.1
--- Libc/Libc-763.12/gen/FreeBSD/arc4random.c.patch
+++ Libc/Libc-594.9.1/gen/FreeBSD/arc4random.c.patch
@@ -0,0 +1,11 @@
+--- arc4random.c.orig	2006-02-19 03:33:43.000000000 -0800
++++ arc4random.c	2006-02-19 15:35:04.000000000 -0800
+@@ -117,7 +117,7 @@
+ 	/* fd < 0?  Ah, what the heck. We'll just take whatever was on the
+ 	 * stack... */
+ 
+-	arc4_addrandom(as, (void *) &rdat, sizeof(rdat));
++	arc4_addrandom(as, (u_char *) &rdat, sizeof(rdat));
+ 
+ 	/*
+ 	 * Throw away the first N bytes of output, as suggested in the