diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2017-03-01 20:28:34 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-03-01 15:05:01 -0500 |
commit | 386fbbe410a1168b724136e54cf3bd37fb64ad4e (patch) | |
tree | bc8e6b9c703f8157871c868169b02bf637753201 /os | |
parent | dc7ceda90fdedb2212f105095fe8d449bfdb0eb4 (diff) |
Brown bag commit to fix 957e8d (arc4random_buf() support)
- typo in #ifdef check
- also need to add AC_CHECK_FUNCS([arc4random_buf])
Reported-by Eric Engestrom. Thanks
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
Diffstat (limited to 'os')
-rw-r--r-- | os/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -305,7 +305,7 @@ GenerateAuthorization(unsigned name_length, void GenerateRandomData(int len, char *buf) { -#ifdef HAVE_ARC4RANDOMBUF +#ifdef HAVE_ARC4RANDOM_BUF arc4random_buf(buf, len); #else int fd; |