From 5ac4b5df2c236c92a1c9bf79d15f0b0bf88b9904 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 21 Aug 2013 13:26:05 +0200 Subject: 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. --- pyconfig.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index ba06ff4170..0020300873 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -633,6 +633,9 @@ /* Define if your compiler supports function prototype */ #undef HAVE_PROTOTYPES +/* 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 -- cgit v1.2.1