Commit Graph
40 Commits
Author SHA1 Message Date
Brian Wellington 56e12bb9ed catch out-of memory error, always add trailing dot 1999-10-25 21:04:53 +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
Brian Wellington 25811a89c6 Added dst_digest (a wrapper around digest functions), and dst_s_md5 (an
internal wrapper around MD5).  Modified hmac-md5 code to use dst_s_md5.
1999-10-18 21:35:46 +00:00
Brian Wellington 3efd14644c Allow private keys to be read if public keys are not present. This isn't
too useful for anything other than HMAC-MD5 shared keys, since the key's
flags and protocol are stored in the public file.

Also some miscellaneous cleanup.
1999-10-14 18:32:49 +00:00
Brian Wellington cf7f5036cb add int to function declaration typedefs 1999-10-11 22:18:58 +00:00
Brian Wellington f044f20f15 removed initializer warning 1999-10-11 22:00:27 +00:00
Brian Wellington 82e8e17f7f make opensslconf.h nonempty 1999-10-11 20:50:11 +00:00
David Lawrence 432b589972 does not need sys/param.h 1999-10-08 22:32:51 +00:00
David Lawrence 6a79959258 explicitly cast return value of dst_s_id_calc to uint16. the return value
is already masked to 16 bits but the compiler is not smart enough to know
that there is no loss of precision.
1999-10-08 22:27:00 +00:00
David Lawrence 54e9edb759 use ISC_DIR_NAMEMAX instead of PATH_MAX.
There is still an unportable chmod() in here, which for now is
just elided when building on NT.  A Better Way will be made.
1999-10-08 22:25:14 +00:00
David Lawrence 589064803f use ISC_DIR_NAMEMAX instead of PATH_MAX.
cast isc_buffer_putuint{8,16} integers to appropritate size.  nearly all
are clearly masked to the correct size at the location of the call, so
it is just delinting the "conversion supplied" warnings from NT's CL.
1999-10-08 22:24:06 +00:00
David Lawrence 85053e2af8 does not need unistd.h
cast integer arg to isc_buffer_putuint{8,16} to appropriate size.  the
value was already checked for suitable range so casting occurs without
loss of precision.
1999-10-08 22:14:24 +00:00
David Lawrence 0e64f7883a define THIRTY_TWO_BIT instead of SIXTY_FOUR_BIT on WIN32. Since
this file is already heavily ifdef'd with WIN32, one more seemed like
the most reasonable way to handle the matter.
1999-10-08 22:01:05 +00:00
Brian Wellington 22fe53a629 more warning fixes 1999-10-08 13:08:57 +00:00
Bob Halley 51917258db build system cleanups; improved include handling 1999-10-05 19:52:30 +00:00
Brian Wellington f9e5d1c8ca Added a routine to compute the length of a generated shared secret 1999-10-05 15:08:52 +00:00
Brian Wellington 688d43f2ac check for known primes was backwards 1999-10-05 15:06:37 +00:00
Brian Wellington 95bf6e9625 fix casting problem 1999-10-05 15:04:27 +00:00
Brian Wellington 5f007faa70 DH support broke DSA private key loading 1999-09-30 17:41:36 +00:00
Brian Wellington 2be474d044 Added Diffie-Hellman support to dst 1999-09-27 16:55:45 +00:00
Brian Wellington 8b63ecfc36 Added OpenSSL Diffie-Hellman code 1999-09-27 15:34:06 +00:00
Brian Wellington c425c6b3a6 Added dst_key_isprivate, added a few new result codes 1999-09-23 20:54:38 +00:00
Brian Wellington 6ac145533e off by one error 1999-09-06 16:55:58 +00:00
Brian Wellington d92543b360 more constant renaming 1999-09-02 15:56:33 +00:00
Brian Wellington 1fd4766e5b constant renaming 1999-09-01 18:56:19 +00:00
Brian Wellington b6b0966e6a mode should be an unsigned int 1999-08-31 14:59:08 +00:00
Brian Wellington 06aa41fbf7 fix compiler warnings on alpha 1999-08-27 21:12:28 +00:00
Brian Wellington b0a1546de9 dst_sig_size fix 1999-08-27 15:56:33 +00:00
Brian Wellington 4dc6a937d6 DST_SIG_MODE -> DST_SIGMODE 1999-08-26 20:41:54 +00:00
Brian Wellington cbe4e921bc more compiler warnings removed 1999-08-20 20:44:03 +00:00
Brian Wellington fffd68f1bc update to openssl-0.9.4, remove compile-time warnings 1999-08-20 20:06:33 +00:00
Brian Wellington 382442e200 Increased size of a few buffers, removed references to cylink toolkit. 1999-08-20 17:03:30 +00:00
Brian Wellington ebe3937fc0 dns_key_free seg fault 1999-08-03 19:48:10 +00:00
Brian Wellington 7fba8470c7 minor code cleanup, HMAC-MD5 bugfix 1999-07-29 17:21:23 +00:00
Bob Halley acdd6cd35f search for includes in build dirs isc/unix/include and dns/include 1999-07-15 20:08:03 +00:00
Bob Halley 50826c269d search for includes in build dir isc/unix/include 1999-07-15 20:07:39 +00:00
Bob Halley 694c897b20 mkdep support 1999-07-13 20:12:47 +00:00
Bob Halley b6412b0788 add 1999-07-13 01:53:40 +00:00
Brian Wellington 65c4736d9c Added underlying DNSSEC support (dst and crypto libraries) 1999-07-12 20:08:42 +00:00