pfg 93698c5f59 libc/gen: small updates to code originating at OpenBSD
arc4random.c
- CVS rev. 1.22
Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as
``-upper_bound % upper_bound''. Simplifies the code and makes it the
same on both ILP32 and LP64 architectures, and also slightly faster on
LP64 architectures by using a 32-bit remainder instead of a 64-bit
remainder.
- CVS rev. 1.23
Spacing

readpassphrase.c
-CVS rev. v 1.24
most obvious unsigned char casts for ctype

Obtained from:	OpenBSD
MFC after:	5 days
2014-07-15 02:21:35 +00:00
..
2014-07-07 00:27:09 +00:00
2014-07-07 00:27:09 +00:00
2014-07-07 00:27:09 +00:00
2014-01-21 21:13:13 +00:00
2014-07-10 13:04:52 +00:00
2014-07-07 00:27:09 +00:00
2014-05-15 15:22:32 +00:00
2014-02-01 09:27:57 +00:00
2014-07-07 00:27:09 +00:00
2014-07-07 00:27:09 +00:00
2014-07-07 00:27:09 +00:00
2014-03-22 17:28:14 +00:00
2014-07-07 00:27:09 +00:00
2014-07-07 00:27:09 +00:00