diff options
Diffstat (limited to 'threadproc/unix/proc.c')
-rw-r--r-- | threadproc/unix/proc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/threadproc/unix/proc.c b/threadproc/unix/proc.c index 004772ff8..de9720045 100644 --- a/threadproc/unix/proc.c +++ b/threadproc/unix/proc.c @@ -19,6 +19,7 @@ #include "apr_portable.h" #include "apr_signal.h" #include "apr_random.h" +#include "apr_crypto.h" /* Heavy on no'ops, here's what we want to pass if there is APR_NO_FILE * requested for a specific child handle; @@ -229,6 +230,9 @@ APR_DECLARE(apr_status_t) apr_proc_fork(apr_proc_t *proc, apr_pool_t *pool) proc->pid = getpid(); apr_random_after_fork(proc); +#if APU_HAVE_CRYPTO_PRNG + apr_crypto_prng_after_fork(); +#endif return APR_INCHILD; } |