diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-12-21 00:16:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-12-21 00:16:38 (GMT) |
commit | 4d6a3d6c01abc468ec85395c58f1a36f6f16560e (patch) | |
tree | 354169073a71ea73989bad9a7950bf4d3794333d /pyconfig.h.in | |
parent | 3c6fe4da88869b03d810e870db3997b787ffff3e (diff) | |
download | cpython-4d6a3d6c01abc468ec85395c58f1a36f6f16560e.zip cpython-4d6a3d6c01abc468ec85395c58f1a36f6f16560e.tar.gz cpython-4d6a3d6c01abc468ec85395c58f1a36f6f16560e.tar.bz2 |
Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
instead of reading /dev/urandom, to get pseudo-random bytes.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index d623ceb..8107c3a 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -332,6 +332,9 @@ /* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */ #undef HAVE_GETC_UNLOCKED +/* Define to 1 if you have the `getentropy' function. */ +#undef HAVE_GETENTROPY + /* Define to 1 if you have the `getgrouplist' function. */ #undef HAVE_GETGROUPLIST |