X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fproc.c;h=a5afb5011cb1c468732561d5944fa9f685c1c4e4;hp=d290f3bd100faed3cc17d8d24cd6396443a41131;hb=8e6db769ac549cfe26042f7d51ae8a301d8fc569;hpb=8a041373bb81f75a91a00e692979619938199989 diff --git a/src/ngircd/proc.c b/src/ngircd/proc.c index d290f3bd..a5afb501 100644 --- a/src/ngircd/proc.c +++ b/src/ngircd/proc.c @@ -77,6 +77,9 @@ Proc_Fork(PROC_STAT *proc, int *pipefds, void (*cbfunc)(int, short), int timeout return -1; case 0: /* New child process: */ +#ifdef HAVE_ARC4RANDOM_STIR + arc4random_stir(); +#endif #ifndef HAVE_ARC4RANDOM srand(seed ^ (unsigned int)time(NULL) ^ getpid()); #endif