summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-08-21 11:26:05 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-08-21 11:26:05 (GMT)
commit0d604cf65e66f20fca345c4da4526552622a2501 (patch)
treea48fb764273b4e83154e981da9beaf3589413191 /pyconfig.h.in
parentc360389453d50ff3fdebea052a0f436be41cc8c4 (diff)
downloadcpython-0d604cf65e66f20fca345c4da4526552622a2501.zip
cpython-0d604cf65e66f20fca345c4da4526552622a2501.tar.gz
cpython-0d604cf65e66f20fca345c4da4526552622a2501.tar.bz2
Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data.
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 65df68a..8ac017e 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -520,6 +520,9 @@
/* Define if you have GNU PTH threads. */
#undef HAVE_PTH
+/* Define to 1 if you have the `pthread_atfork' function. */
+#undef HAVE_PTHREAD_ATFORK
+
/* Defined for Solaris 2.6 bug in pthread header. */
#undef HAVE_PTHREAD_DESTRUCTOR