aboutsummaryrefslogtreecommitdiff
path: root/apps/openssl
diff options
context:
space:
mode:
authorSimone Basso <bassosimone@gmail.com>2016-12-09 13:21:37 +0100
committerBrent Cook <bcook@openbsd.org>2017-01-07 07:19:02 -0600
commit39666aaa78601313adb9ed514e36d10dc8526cbc (patch)
tree6777f81c7ba56c38455f3e6e265a3194c63c4eae /apps/openssl
parent7cd2b0e2e1ba0b52880bbe41d80f1f4c69533134 (diff)
downloadportable-39666aaa78601313adb9ed514e36d10dc8526cbc.tar.gz
portable-39666aaa78601313adb9ed514e36d10dc8526cbc.tar.bz2
portable-39666aaa78601313adb9ed514e36d10dc8526cbc.zip
m4/check-libc.m4: improve getentropy check
- according to man.openbsd.org getentropy() is in unistd.h - according to macOS sierra's man it's in sys/random.h - since sys/random.h is does not exist for iOS and for linux, do not attempt to include it, rather redeclare the prototype - make sure that `./configure`: - uses getentropy() on macOS sierra - does not use getentropy() if compiling for 10.11 - does not use getentropy() if compiling for ios armv7
Diffstat (limited to 'apps/openssl')
0 files changed, 0 insertions, 0 deletions