Commit Graph

52 Commits

Author SHA1 Message Date
Brian Wellington
1ba1b5242e pass DST_TYPE_PUBLIC | DST_TYPE_PRIVATE when both the public and private key
should be read.
2001-05-10 06:04:58 +00:00
Brian Wellington
45e22378fc dns_name_tofilenametext() now downcases the name, which means the callers
don't need to.
2001-03-27 23:43:15 +00:00
Brian Wellington
7d7215baf8 Add dns_name_tofilenametext(), and use it in the dnssec tools. 2001-03-27 22:57:48 +00:00
Brian Wellington
d566e8ea7b open databases with the root as origin when possible. 2001-03-27 22:08:39 +00:00
Brian Wellington
b03c1bf72f Make sure to create all keyset- and signedkey- files with downcased names;
downcase names before looking for signedkey- files in dnssec-signzone.
2001-03-23 03:59:00 +00:00
Brian Wellington
4e146b2fd6 duplicate keys on the command line were not properly suppressed 2001-03-22 19:28:23 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Mark Andrews
6fda157766 ISC_LINK_*UNSAFE -> ISC_LINK_INITAND* 2000-12-07 20:15:58 +00:00
Brian Wellington
9dc3c7213b Add -a (verify generated signatures) option to signkey and makekeyset 2000-11-09 18:55:17 +00:00
Brian Wellington
82f4c5bc90 - print the names of the files generated, expand the usages a bit
- add -d directory option to dnssec-signzone
2000-10-31 20:09:15 +00:00
Mark Andrews
5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00
Brian Wellington
db503b6daf logging changes. 2000-09-26 22:11:25 +00:00
Brian Wellington
c0bf51978c remove unnecessary allocations 2000-09-12 11:50:46 +00:00
Brian Wellington
1f8f904ad6 Added support for non-IN classes. 2000-09-12 10:07:50 +00:00
Brian Wellington
2abb1aa083 clarify an error message 2000-09-08 14:11:53 +00:00
Brian Wellington
42ffd37e52 remove unnecessary memory allocations 2000-09-08 08:47:29 +00:00
Brian Wellington
42848e71bc Move some shared code to the shared file. 2000-09-08 08:38:59 +00:00
Brian Wellington
c6891157b1 The keyset for the root had two dots in it. 2000-08-14 20:39:23 +00:00
Brian Wellington
18940d2cdf The keyset filename was missing the trailing dot. 2000-08-14 20:11:29 +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
cdde861f12 Chage 'key id' to 'key tag' in a few places 2000-08-10 22:08:23 +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
529a6b5224 358. [cleanup] Rename the intermediate files used by the dnssec
programs.
2000-07-31 15:28:21 +00:00
Brian Wellington
b4e3970226 -h wasn't handled properly. 2000-07-30 20:53:49 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Brian Wellington
ad4cf977d0 Reset the callback sources, so keyboard input will be prompted for each
time it's needed.
2000-06-22 19:10:11 +00:00
Brian Wellington
c5c9aa94f7 parse -h 2000-06-12 19:21:48 +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
4979d89e04 joint copyright ISC/NAI 2000 2000-06-09 21:32:05 +00:00
Mark Andrews
a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
Brian Wellington
b3ef06344a DST API updates 2000-06-06 22:01:49 +00:00
David Lawrence
6dedf9982c int alg in main() made unsigned for argument compatibility with
dns_key_parsefilename().
2000-06-06 15:32:26 +00:00
Brian Wellington
83b32cc342 print memory stats when verbose>10 2000-06-02 19:02:52 +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
Brian Wellington
a9bc95f22e dst now stores the key name as a dns_name_t, not a char *. 2000-05-24 23:13:32 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
d6a2af163f added missing prototype for usage().
wrapped long lines.
removed unused stack variable "byte" from set_bit in dnssec-signzone.
UNUSED(verbose) for yet-to-be-used variable in dnssec-keygen.
argument to return should be in parentheses.
2000-05-24 03:16:19 +00:00
Brian Wellington
c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
David Lawrence
6a6b556d9d gcc (ANSI?) won't inline a variable arg function, but there wasn't much point
to inlining fatal() anyway.
2000-05-18 23:28:30 +00:00
Brian Wellington
acd5445e00 use the new names in program output 2000-05-18 22:04:02 +00:00
Brian Wellington
6a285c816d better error reporting and miscellaneous cleanup 2000-05-16 18:41:00 +00:00
Brian Wellington
bb9b90250b additional sanity checking of input, better error reporting 2000-05-16 00:54:59 +00:00
Brian Wellington
3de75141d2 Modified commandline parameters 2000-05-16 00:02:39 +00:00
Andreas Gustafsson
259d8f9420 style 2000-05-12 21:06:58 +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
Michael Graff
c90f5e8d1e Split dns_log_init() into dns_log_init() which sets up module and category names, and dns_log_setcontext() which sets the logging context. Call isc_log_setcontext(), dns_log_init(), and dns_log_setcontext(). 2000-05-03 21:11:40 +00:00
Brian Wellington
7df0472d8a Added isc/util.h 2000-04-28 02:12:16 +00:00
Andreas Gustafsson
96eb58dd46 conform to buffer API changes 2000-04-27 22:09:59 +00:00