summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-08-21 13:26:05 +0200
committerChristian Heimes <christian@cheimes.de>2013-08-21 13:26:05 +0200
commit0d604cf65e66f20fca345c4da4526552622a2501 (patch)
treea48fb764273b4e83154e981da9beaf3589413191 /configure.ac
parentc360389453d50ff3fdebea052a0f436be41cc8c4 (diff)
downloadcpython-git-0d604cf65e66f20fca345c4da4526552622a2501.tar.gz
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 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b4ed0107a8..d922bc7cb1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2569,6 +2569,7 @@ if test "$posix_threads" = "yes"; then
[Define if pthread_sigmask() does not work on your system.])
;;
esac])
+ AC_CHECK_FUNCS(pthread_atfork)
fi