mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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.
This commit is contained in:
parent
b1973c252c
commit
f77b4b20e9
6 changed files with 123 additions and 0 deletions
|
@ -2500,6 +2500,7 @@ if test "$posix_threads" = "yes"; then
|
|||
[Define if pthread_sigmask() does not work on your system.])
|
||||
;;
|
||||
esac])
|
||||
AC_CHECK_FUNCS(pthread_atfork)
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue