Use arc4random_uniform to increase the slightly difficulty of winning.
authorderaadt <deraadt@openbsd.org>
Sat, 18 Jan 2014 01:58:33 +0000 (01:58 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 18 Jan 2014 01:58:33 +0000 (01:58 +0000)
commit7e2966dd65c12e96ac4e3391ebfd3d35c3d43420
tree364c8bbf3a9460d904a4d8eb543defd171338d73
parent8de3cdac813a5bc4be9b84b2a2274d8bd7831de5
Use arc4random_uniform to increase the slightly difficulty of winning.
Kidding, the fix is to stop using the scheduler's PRNG.
ok kettenis
sys/ddb/db_hangman.c