]> git.saurik.com Git - apple/libc.git/blobdiff - gen/FreeBSD/arc4random.c.patch
Libc-763.11.tar.gz
[apple/libc.git] / gen / FreeBSD / arc4random.c.patch
index 8931f1bb4de41ef2bb41d08c9e71348548eb540f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,11 +0,0 @@
---- 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