diff options
author | Damien Miller <djm@mindrot.org> | 2018-04-13 13:31:42 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-04-13 13:32:23 +1000 |
commit | afa6e79b76fb52a0c09a29688b5c0d125eb08302 (patch) | |
tree | 307b8e468c1fc8c6311ce749a2057b4bb80c14f5 /configure.ac | |
parent | 575fac34a97f69bc217b235f81de9f8f433eceed (diff) |
prefer to use getrandom() for PRNG seeding
Only applies when built --without-openssl. Thanks Jann Horn for
reminder.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1e9f7412c..8aad45169 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -413,6 +413,7 @@ AC_CHECK_HEADERS([ \ | |||
413 | sys/prctl.h \ | 413 | sys/prctl.h \ |
414 | sys/pstat.h \ | 414 | sys/pstat.h \ |
415 | sys/ptrace.h \ | 415 | sys/ptrace.h \ |
416 | sys/random.h \ | ||
416 | sys/select.h \ | 417 | sys/select.h \ |
417 | sys/stat.h \ | 418 | sys/stat.h \ |
418 | sys/stream.h \ | 419 | sys/stream.h \ |
@@ -1786,6 +1787,7 @@ AC_CHECK_FUNCS([ \ | |||
1786 | getpgid \ | 1787 | getpgid \ |
1787 | _getpty \ | 1788 | _getpty \ |
1788 | getrlimit \ | 1789 | getrlimit \ |
1790 | getrandom \ | ||
1789 | getsid \ | 1791 | getsid \ |
1790 | getttyent \ | 1792 | getttyent \ |
1791 | glob \ | 1793 | glob \ |