summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-01-06 11:26:01 +0100
committerVictor Stinner <victor.stinner@gmail.com>2017-01-06 11:26:01 +0100
commit2f7964393d6a17e746596918c4a272d0a5009479 (patch)
tree2657f344337532e2fc060cc49d0ecb74039d5a63 /Python/modsupport.c
parenta49a2078e84b594cc42988bf181be7cc5da66f78 (diff)
downloadcpython-git-2f7964393d6a17e746596918c4a272d0a5009479.tar.gz
Issue #29157: getrandom() is now preferred over getentropy()
The glibc now implements getentropy() on Linux using the getrandom() syscall. But getentropy() doesn't support non-blocking mode. Since getrandom() is tried first, it's not more needed to explicitly exclude getentropy() on Solaris. Replace: if defined(HAVE_GETENTROPY) && !defined(sun) with if defined(HAVE_GETENTROPY)
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions