Commit Graph
38 Commits
Author SHA1 Message Date
Evan Hunt 1671fc195c [v9_9] typo in comment 2016-11-08 09:06:40 -08:00
Tinderbox User a06917d08f update copyright notice / whitespace 2016-11-02 23:51:39 +00:00
Evan Hunt bd97809fdf [v9_9] restore dropped #else block 2016-11-01 22:34:59 -07:00
Evan Hunt f1c484217a [v9_9] use arc4random_stir() when available
4499.	[port]		MacOSX: silence deprecated function warning
			by using arc4random_stir() when available
			instead of arc4random_addrandom(). [RT #43503]

(cherry picked from commit 3fb62a5a4e)
2016-11-01 14:01:05 -07:00
Tinderbox User 282335ccbc update copyright notice / whitespace 2016-06-22 23:45:59 +00:00
Mark Andrews 27740e8f15 seed is not always used rt42703
(cherry picked from commit a3a12fa575)
2016-06-22 11:13:18 +10:00
Tinderbox User f74c892d50 update copyright notice 2014-05-07 23:46:06 +00:00
Evan Hunt a3b3557f6f [v9_9] check for arc4random_addrandom()
3840.	[port]		Check for arc4random_addrandom() before using it;
			it's been removed from OpenBSD 5.5. [RT #35907]

(cherry picked from commit 1ea6e09c37)
2014-05-07 08:58:54 -07:00
Mark Andrews a0095a7c1a update copyrights 2013-12-05 15:13:01 +11:00
Mark Andrews 3b38a23089 3681. [port] Update the Windows build system to support feature
selection and WIN64 builds.  This is a work in
                        progress. [RT #34160]

(cherry picked from commit c3c8823fed)

Conflicts:
	CHANGES
	bin/check/win32/checktool.dsp.in
	bin/dnssec/win32/dnssectool.dsp.in
	bin/dnssec/win32/importkey.dsp.in
	bin/dnssec/win32/importkey.mak.in
	bin/named/geoip.c
	bin/named/include/named/geoip.h
	bin/tools/win32/rrchecker.dsp.in
	bin/tools/win32/rrchecker.mak.in
	config.h.win32
	lib/dns/geoip.c
	lib/dns/master.c
	lib/dns/win32/libdns.dsp.in
	lib/dns/win32/libdns.mak.in
	lib/isc/mem.c
	lib/isc/stats.c
	lib/isc/win32/file.c
	lib/isc/win32/libisc.def.in
	lib/isc/win32/libisc.mak.in
	lib/isc/win32/stdio.c
	lib/isccc/cc.c
	win32utils/BuildAll.bat
	win32utils/BuildSetup.bat
	win32utils/legacy/BINDBuild.dsw.in
	win32utils/makeversion.pl
	win32utils/setpk11provider.pl
	win32utils/updatelibxml2.pl
	win32utils/win32-build.txt
2013-12-04 13:48:45 +11:00
Mark Andrews 2792e226c7 2633. [bug] Handle 15 bit rand() functions. [RT #19783] 2009-07-16 05:52:46 +00:00
Automatic Updater c6fb85f950 update copyright notice 2009-07-01 23:47:36 +00:00
Evan Hunt cfb1587eb9 2619. [func] Add support for RFC 5011, automatic trust anchor
maintenance.  The new "managed-keys" statement can
			be used in place of "trusted-keys" for zones which
			support this protocol.  (Note: this syntax is
			expected to change prior to 9.7.0 final.) [RT #19248]
2009-06-30 02:53:46 +00:00
Automatic Updater 70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews 69fe9aaafd update copyright notice 2005-04-29 00:24:12 +00:00
Rob Austein ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews a2b8bb8777 remove extraneous spaces before semicolons 2003-10-03 06:12:34 +00:00
Mark Andrews 12040a4f5c missing includes [RT#9194] 2003-10-01 00:58:07 +00:00
Mark Andrews 1b5a728293 1499. [bug] isc_random need to be seeded better if arc4random()
is not used.
2003-08-05 00:08:30 +00:00
Mark Andrews def8e47c68 use isc_random_get() rather than rand()/arc4random() directly.
developer: marka
reviewer: bwelling
2002-12-05 04:36:26 +00:00
Mark Andrews 5b76a09697 1405. [func] Use arc4random() if available.
from: jakob@crt.se
reviewed: marka
2002-12-04 01:19:28 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
David Lawrence 86b8c48576 638. [port] lib/isc/random.c needed to explicitly include
time.h explicitly to get a prototype for time() when
			pthreads was not being used. [RT #592]
2000-12-26 21:02:14 +00:00
Andreas Gustafsson 94361d5867 simplified isc_random_jitter() and eliminated floating
point from the code using it in zone.c
2000-09-26 17:23:19 +00:00
Michael Graff 95236b0363 make the returned value sane in all cases 2000-09-08 00:06:39 +00:00
Michael Graff 7da0286b54 get rid of isc_random_t -- use a wrapper around rand() instead that doesn't do as much work. Also, implement isc_random_jitter(), used to generate a value between a min, max, with a provided jitter value. 2000-09-06 02:40:00 +00:00
Brian Wellington 6714319d0f Add a DESTROYLOCK macro to wrap isc_mutex_destroy() 2000-08-26 01:23:17 +00:00
David Lawrence 40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence 1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Andreas Gustafsson 82ca33427b declare arguments as UNUSED() when used in assertions only 2000-04-28 01:24:18 +00:00
Bob Halley ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Michael Graff 440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Bob Halley 4a73cf8ee0 update copyrights 1999-10-31 18:42:01 +00:00
Michael Graff 09dbb18c6d add isc_random_t, and all the isc_random_*() function to use it. Right now it is
a pretty empty type, but it would be good to flesh it out so each random state
will be separated from one another.  Right now they all just lock
around rand(), which isn't perfect, but good enough for what I need
today.
1999-10-20 23:25:17 +00:00