Commit Graph
63 Commits
Author SHA1 Message Date
Brian Wellington 79d91e9150 Use the entropy api 2000-06-09 22:34:40 +00:00
Brian Wellington b3ef06344a DST API updates 2000-06-06 22:01:49 +00:00
David Lawrence 446aa1ec8c style; no functional change 2000-06-06 15:37:41 +00:00
Brian Wellington 4fe8755480 Use the new DST API 2000-06-02 18:59:33 +00:00
David Lawrence 1b6d529cb5 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.

Several unused functions removed from dispatch_tcp_test.c (left over
from when it was copied from dispatch_test.c).

Minor other ISC style cleanups.
2000-06-01 19:11:07 +00:00
David Lawrence 63ed655d8f "test" target depends on the relevant program being built 2000-06-01 19:09:37 +00:00
Brian Wellington 7285eed748 missing isc_buffer_add() calls 2000-05-25 18:00:08 +00:00
David Lawrence 11836b7a55 missing isc_buffer_add()s after isc_buffer_init()s on a string were causing
tests to fail
2000-05-25 16:21:36 +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 25844f9f3a used ISC_TF assigning to boolean.
prototype get_random().
prototype main().
wrap long lines.
2000-05-24 03:27:47 +00:00
Brian Wellington c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
Brian Wellington 81ab85fd39 dst function name cleanup 2000-05-17 22:48:10 +00:00
Andreas Gustafsson fd9f6afdff use the UNUSED() macro 2000-05-11 22:47:00 +00:00
David Lawrence f675434978 return rather than exit from main() to shut up HP/UX 2000-05-08 20:12:46 +00:00
David Lawrence 6028d1ce03 Needs string.h for function prototypes. For some reason gcc and other
compilers do not warn about the missing str*/mem* prototypes.
2000-05-08 19:23:32 +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
David Lawrence 6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Michael Graff 0942b8e0d6 spit out informational messages more often 2000-04-20 18:41:47 +00:00
Michael Graff 08a768e82a Infrastructure to allow use of alternate openssl libraries. Default is still to use our internal, now renamed, version. 2000-04-20 18:27:43 +00:00
Michael Graff a4e2a43f79 s/DNS_R_/ISC_R_/ as needed 2000-04-07 03:50:33 +00:00
Brian Wellington b8fd630c4b better test todns/from dns routines 2000-04-05 22:21:17 +00:00
David Lawrence 7700639655 include <dns/result.h> 2000-03-18 00:42:07 +00:00
Brian Wellington 4124057bf5 dst_result_t -> isc_result_t 2000-03-06 20:04:15 +00:00
Bob Halley ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Andreas Gustafsson fa6c5e38f4 dns_result_t -> isc_result_t 1999-11-30 22:14:39 +00:00
William King 270bb3aa7e change timeout to 30 minutes 1999-11-02 21:16:27 +00:00
William King 15a5f6eb8f lengthen timeout - some machines do this stuff really really slow ... 1999-10-31 19:28:41 +00:00
William King 4bbf3aa4b5 lengthen test timeout to 5 minutes ... 1999-10-27 22:47:25 +00:00
Brian Wellington a61063ca9c Added the keys used in the Diffie-Hellman tests 1999-10-27 21:41:13 +00:00
Brian Wellington 7c37bc1a67 Added Diffie-Hellman tests 1999-10-27 21:26:08 +00:00
Bob Halley 18670af94d fix memory corruption problem 1999-10-27 16:37:34 +00:00
William King 2768168c72 changed assertion number of test 2 to 2 from 3 ... 1999-10-27 01:21:51 +00:00
William King 0487257980 lengthen test timeout to 2 minutes from default of 1 minute 1999-10-26 19:20:37 +00:00
Brian Wellington a7d792804f dst error code cleanup 1999-10-20 22:14:15 +00:00
Brian Wellington 1bdc3fd29a dst_random -> dst_random_get 1999-10-20 19:08:57 +00:00
William King e5966f9b9a added test for signature stability wrt algorithm changes, etc 1999-10-17 21:18:57 +00:00
William King c377272e65 test data for test 2 1999-10-17 21:18:13 +00:00
William King 5ed06e4003 test data for test 2, signature stability 1999-10-17 21:16:34 +00:00
William King 02cae3f325 added -b option 1999-10-07 14:36:45 +00:00
David Lawrence d7f6fcf0f1 libt_api.a depends on libisc.a for isc_commandline_parse 1999-10-06 20:12:00 +00:00
Bob Halley 51917258db build system cleanups; improved include handling 1999-10-05 19:52:30 +00:00
David Lawrence fd35453765 use AR, ARFLAGS, O and A macros 1999-09-30 20:10:31 +00:00
Brian Wellington aae99f6890 missing dependency check 1999-09-27 17:10:15 +00:00
James Brister 9f27447cae Fix includes for when buildtree != sourcetree 1999-09-09 22:24:34 +00:00
Brian Wellington d92543b360 more constant renaming 1999-09-02 15:56:33 +00:00
Bob Halley 8d0470dbdb DST_R_NULL_KEY is now DST_R_NULLKEY 1999-09-01 20:49:08 +00:00
Bob Halley 9d783750e5 ignore .libs 1999-08-27 20:19:40 +00:00
Bob Halley f508da4200 libtoolize 1999-08-27 20:18:03 +00:00
Brian Wellington 4dc6a937d6 DST_SIG_MODE -> DST_SIGMODE 1999-08-26 20:41:54 +00:00