summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2018-04-13 05:31:42 +0200
committerDamien Miller <djm@mindrot.org>2018-04-13 05:32:23 +0200
commitafa6e79b76fb52a0c09a29688b5c0d125eb08302 (patch)
tree307b8e468c1fc8c6311ce749a2057b4bb80c14f5 /configure.ac
parentRevert $REGRESSTMP changes. (diff)
downloadopenssh-afa6e79b76fb52a0c09a29688b5c0d125eb08302.tar.xz
openssh-afa6e79b76fb52a0c09a29688b5c0d125eb08302.zip
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 1e9f7412c..8aad45169 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 \