]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
rand() is weak on some OSes as it only produces random numbers from -32766 to
authorRoland Haeder <roland@mxchange.org>
Fri, 6 Mar 2015 23:36:49 +0000 (00:36 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:20:52 +0000 (00:20 +0200)
commit74a18e6731696af32e5ce92b800af7de1a646d6b
tree6346d9427fa9700d73fca2cb9a9e796ecd77052c
parentb261a77be2a894e3fe4d00c86925bac7fb5d061c
rand() is weak on some OSes as it only produces random numbers from -32766 to
32766. So let's get rid of it all together and use mt_rand() (which produces
*way* larger numbers on *all* systems).

Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
lib/noticeform.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
lib/noticeform.php
plugins/LdapCommon/LdapCommon.php
scripts/createsim.php