once srandomdev() is called, switch to using arc4random() but mask off the
authortedu <tedu@openbsd.org>
Sun, 13 Jul 2014 14:21:14 +0000 (14:21 +0000)
committertedu <tedu@openbsd.org>
Sun, 13 Jul 2014 14:21:14 +0000 (14:21 +0000)
commit00694a1db96e730a0942f4d6f001b002663a4f55
tree820fad5a37ff60e387f489c4b38342f37e945e81
parent9b9ff8eca054819643f7e5144b5c461d3d489b82
once srandomdev() is called, switch to using arc4random() but mask off the
high bit as required by posix. wouldn't want to break any standards.
idea and ok deraadt
lib/libc/stdlib/random.c