diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2017-03-01 19:22:37 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2017-03-01 19:22:37 +0000 |
commit | 4d40326eddf1e4b654373804f908bb16bc66fcfc (patch) | |
tree | 68b4e2f83bd37450c79fd4a4bf78990eb44e2d3f /xserver/os | |
parent | 809e94e475c78602f28f0e4e51b39cd66738ef38 (diff) |
Fix arc4random_buf(3) detection. Noticed by Eric Engestrom on
the xorg-devel list. Thanks
Diffstat (limited to 'xserver/os')
-rw-r--r-- | xserver/os/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/os/auth.c b/xserver/os/auth.c index d8b58a01f..ff73cada2 100644 --- a/xserver/os/auth.c +++ b/xserver/os/auth.c @@ -305,7 +305,7 @@ GenerateAuthorization(unsigned name_length, void GenerateRandomData(int len, char *buf) { -#ifndef HAVE_ARC4RANDOMBUF +#ifndef HAVE_ARC4RANDOM_BUF int fd; fd = open("/dev/urandom", O_RDONLY); |