mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Instead of just time() (which can be easily guessed by an attacker when he gets a couple of samples of rand() results), this now also uses the current microseconds, znc's pid and the old PRNG state for computing a seed. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1813 726aef4b-f618-498e-8847-2d620e286838
8.2 KiB
8.2 KiB