Commit graph

43 commits

Author SHA1 Message Date
Mark Andrews
7c386b0c31 1892. [bug] dnssec-signzone, dnssec-keygen: handle negative debug
levels. [RT #14962]
2005-07-01 03:28:42 +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
daa73eae70 silence punned messages 2004-02-03 00:59:05 +00:00
Mark Andrews
93d6dfaf66 1516. [func] Roll the DNSSEC types to RRSIG, NSEC and DNSKEY. 2003-09-30 06:00:40 +00:00
Mark Andrews
5eb91bd90e silence compiler warnings (HPUX/11i) 2003-07-25 00:01:16 +00:00
Brian Wellington
8771fbe4a2 1142. [bug] dnssec-signzone would fail to delete temporary files
in some failure cases. [RT #2144]
2001-11-27 22:08:58 +00:00
Brian Wellington
39504d4517 remove dead code, consolidate dupliacted code. 2001-09-21 00:17:01 +00:00
Andreas Gustafsson
2f734e0a7e sizeof style 2001-09-19 23:08:24 +00:00
Brian Wellington
3f543c371f 981. [func] The dnssec tools can now take multiple '-r randomfile'
arguments.
2001-09-05 23:15:42 +00:00
Brian Wellington
ed29aefe31 [RT #1709]
Change isc_entropy_usebestsource() to have saner semantics:
 - If an invalid file is specified, an error will be returned instead of the
   keyboard being used.
 - If no file is specified but a random device is present, the keyboard will
   be used if there is an error opening the random device.
 - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
   only device used.  Otherwise, passing '-r keyboard' is meaningless
   on a machine with a random device, since the keyboard will not be used.

Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Danny Mayer
a9c57ae221 Bug fixes to support win32 2001-07-22 06:09:42 +00:00
David Lawrence
9bfa90768a 907. [func] The ability to get entropy from either the
random device, a user-provided file or from
			the keyboard was migrated from the DNSSEC tools
			to libisc as isc_entropy_usebestsource().
2001-06-22 17:05:54 +00:00
David Lawrence
6c35e4dd17 894. [bug] A message intended to warn when the keyboard was being
used because of the lack of a suitable random device
			was not being printed.

wantkeyboard was always being set to true just before setting up the keyboard
callback, rather than only being set to true if PATH_RANDOMDEV was undefined
or not able to be opened.
2001-06-08 22:07:16 +00:00
Brian Wellington
c9c630ee84 If signing a zone fails, remove the partial file. [RT #1131] 2001-03-31 02:12:26 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington
ee303f481d 639. [bug] Reading entropy from the keyboard would sometimes fail.
[RT #591]

note: the entropy callback conventions should really be documented.
2000-12-27 00:11:26 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Andreas Gustafsson
3955d85b3c uninitialized variable 2000-11-27 22:19:37 +00:00
Brian Wellington
85e60ef497 Change an error message and allow time to be specified as YYYYMMDD
(without HHMMSS).
2000-11-06 17:28:24 +00:00
Brian Wellington
db503b6daf logging changes. 2000-09-26 22:11:25 +00:00
Brian Wellington
42848e71bc Move some shared code to the shared file. 2000-09-08 08:38:59 +00:00
Brian Wellington
529ff4b495 HAVE_RANDOMDEV -> PATH_RANDOMDEV 2000-08-17 19:17:57 +00:00
Brian Wellington
a14613fce9 --with-randomdev sets HAVE_RANDOMDEV, use that instead of /dev/random. 2000-08-17 18:56:49 +00:00
Andreas Gustafsson
91ab5ca629 <isc/print.h> needed for snprintf() 2000-08-17 01:22:10 +00:00
Brian Wellington
4fc4813eb3 Remove all non-threadsafe functions (in the non-threaded programs). 2000-08-14 04:43:17 +00:00
Brian Wellington
565d0dc22f Added a convenience function to convert a sig rdatastruct into a string. 2000-08-11 23:07:53 +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
Brian Wellington
abb04a9d70 Don't print "stop typing" if the user interrupted the entropy gathering. 2000-07-31 20:38:27 +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
Brian Wellington
2492d62e44 Don't print the "lacking /dev/random" message if the user specifically
wanted to use the keyboard for whatever reason.
2000-06-22 19:16:33 +00:00
Brian Wellington
c62eb55568 improved prompting 2000-06-22 19:09:30 +00:00
Brian Wellington
8de5cd8d06 kbdstart had a reversed test 2000-06-22 18:42:05 +00:00
Brian Wellington
49d233a08a Allow the user to specify "keyboard" as the random device. 2000-06-22 02:47:33 +00:00
Michael Graff
7685c082c8 remove flags from source types. It was never used, and probably shouldn't be there. 2000-06-17 01:42:21 +00:00
Michael Graff
c3581e2bcc No need to destroy filesources -- they will clean up when the source is destroyed 2000-06-15 18:15:26 +00:00
Brian Wellington
3d3e7bce59 Add '-r randomfile' option to all tools 2000-06-10 01:28:11 +00:00
Brian Wellington
79d91e9150 Use the entropy api 2000-06-09 22:34:40 +00:00
Andreas Gustafsson
ff8ef4e84c copyright ISC 2000 2000-06-09 21:31:08 +00:00
David Lawrence
7efc8c3f69 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
Brian Wellington
b1d234eb75 The dnssec tools properly use the logging subsystem and share more code. 2000-05-24 23:54:43 +00:00