summaryrefslogtreecommitdiff
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-12-21 01:16:38 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-12-21 01:16:38 +0100
commit4d6a3d6c01abc468ec85395c58f1a36f6f16560e (patch)
tree354169073a71ea73989bad9a7950bf4d3794333d /pyconfig.h.in
parent3c6fe4da88869b03d810e870db3997b787ffff3e (diff)
downloadcpython-git-4d6a3d6c01abc468ec85395c58f1a36f6f16560e.tar.gz
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.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index d623cebd71..8107c3af74 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