summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keygen.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-05-08 22:08:51 +0000
committermillert <millert@openbsd.org>2004-05-08 22:08:51 +0000
commit570858be515044749d33fcf64b8e8d2a030a34ba (patch)
tree0f023832ea37a173fa66dee8b54ad46a68f5e33b /usr.bin/ssh/ssh-keygen.c
parentIn pmap_enu*(), be sure to splx() on low memory conditions. (diff)
downloadwireguard-openbsd-570858be515044749d33fcf64b8e8d2a030a34ba.tar.xz
wireguard-openbsd-570858be515044749d33fcf64b8e8d2a030a34ba.zip
Use arc4random() unless the user specifies a specific seed, in which
case, call srandom() and use random(). Avoid using rand() because it does not produce good random numbers. Based on a diff from deraadt@
Diffstat (limited to 'usr.bin/ssh/ssh-keygen.c')
0 files changed, 0 insertions, 0 deletions