summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2018-04-13 13:31:42 +1000
committerDamien Miller <djm@mindrot.org>2018-04-13 13:32:23 +1000
commitafa6e79b76fb52a0c09a29688b5c0d125eb08302 (patch)
tree307b8e468c1fc8c6311ce749a2057b4bb80c14f5 /configure.ac
parent575fac34a97f69bc217b235f81de9f8f433eceed (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.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1e9f7412..8aad4516 100644
--- a/configure.ac
+++ b/configure.ac
@@ -413,6 +413,7 @@ AC_CHECK_HEADERS([ \
sys/prctl.h \
sys/pstat.h \
sys/ptrace.h \
+ sys/random.h \
sys/select.h \
sys/stat.h \
sys/stream.h \
@@ -1786,6 +1787,7 @@ AC_CHECK_FUNCS([ \
getpgid \
_getpty \
getrlimit \
+ getrandom \
getsid \
getttyent \
glob \