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:
Christian Heimes 2013-08-21 13:26:05 +02:00
parent b1973c252c
commit f77b4b20e9
6 changed files with 123 additions and 0 deletions

View file

@ -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