aboutsummaryrefslogtreecommitdiffstats
path: root/src/random.c
Commit message (Expand)AuthorAgeFilesLines
* Fix build with LibreSSL / Detect missing RAND_egd. Patch from Bernard Spil.Gravatar Bram Matthys2015-04-061-1/+1
* - Removed old dgets() and crc32 function (code cleanup)Gravatar Bram Matthys2010-02-131-4/+5
* Corrected numerous -Wall warningsGravatar codemastr2004-11-041-5/+0
* - Changed random number generator to use arc4random-alike routines so we can ...••• random numbers. We will also no longer be using rand()/random() anywhere. Thanks to dek\ for pointing out this is potentionally dangerous, especially on win32 with NOSPOOF enabled. Gravatar Bram Matthys2004-01-191-85/+127
* Added ZIP_LINKS: using flag FLAGS_ZIP (0x1000000, was FLAGS_UNOCCUP2),•••instead of using a 2nd flag here for the special case of "the first zip msg" like in hybrid/etc I use cptr->zip->first to flag that. Except for the many #ifdef ZIP_LINKS blocks added I also had to do some stuff outside it, like crc32->our_crc32 because zlib defines it, made a READBUF define (8192), added a msg var to parsing/send functions.. blah.. etc ;P. I've also put the patch online at www.vulnscan.org/tmp/zip_links.diff so you can easily look what I've changed. TODO: ask in ./Config if ziplinks should be enabled and let ./configure check for zlib + add the library to IRCDLIBS in Makefile if enabled. TODO: some little code cleanups Gravatar Bram Matthys2003-01-281-1/+1
* Fixed compile error in src/random.c at win32. Also added some nice #ifdef's•••so we don't get unused var warnings in non-SSL mode... Gravatar Bram Matthys2003-01-191-1/+6
* Misc. fixesGravatar codemastr2003-01-111-11/+2
* Fixed a random bug and added link::password-connect encryption errorGravatar codemastr2003-01-051-2/+2
* Added a patch by Syzop to increase randomness of the random numbersGravatar codemastr2003-01-051-0/+181