diff options
author | Christian Heimes <christian@cheimes.de> | 2013-08-21 11:26:05 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-08-21 11:26:05 (GMT) |
commit | f77b4b20e931dd0247a176db856723fe1203d32e (patch) | |
tree | 2db44f24a8c5695c53df730205a043d11fb6c272 /pyconfig.h.in | |
parent | b1973c252c2eec757eaa067afaf593c2cc5ea8db (diff) | |
download | cpython-f77b4b20e931dd0247a176db856723fe1203d32e.zip cpython-f77b4b20e931dd0247a176db856723fe1203d32e.tar.gz cpython-f77b4b20e931dd0247a176db856723fe1203d32e.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.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index ba06ff4..0020300 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 |