aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorSimone Basso <bassosimone@gmail.com>2016-12-09 13:21:37 +0100
committerSimone Basso <bassosimone@gmail.com>2016-12-09 14:17:06 +0100
commit6fa2d21ba57b83c6148a8aa03a362ca9e771fe21 (patch)
treeeee307c744632960800a9808b9652575bf335ea8 /crypto
parentf8a9c71e793975e2d224cb01603bf814320545ab (diff)
downloadportable-6fa2d21ba57b83c6148a8aa03a362ca9e771fe21.tar.gz
portable-6fa2d21ba57b83c6148a8aa03a362ca9e771fe21.tar.bz2
portable-6fa2d21ba57b83c6148a8aa03a362ca9e771fe21.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 'crypto')
0 files changed, 0 insertions, 0 deletions