| commit | 354c48c641e7fbdc273ee8e1239ff71d73a1ec3e | [log] [download] |
|---|---|---|
| author | Damien Miller <djm@mindrot.org> | Mon May 19 14:50:00 2008 +1000 |
| committer | Damien Miller <djm@mindrot.org> | Mon May 19 14:50:00 2008 +1000 |
| tree | ab82abcf3687b6433990584ac62f89132c73db4b | |
| parent | a4be7c23fdcf8a1da5420068dc4bd4db45af9c9c [diff] |
- (djm) OpenBSD CVS Sync
- djm@cvs.openbsd.org 2008/04/13 00:22:17
[dh.c sshd.c]
Use arc4random_buf() when requesting more than a single word of output
Use arc4random_uniform() when the desired random number upper bound
is not a power of two
ok deraadt@ millert@