Commit Graph

52 Commits

Author SHA1 Message Date
Michael Graff
3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Mark Andrews
4754765cc0 Fully declare function pointers. 1999-12-13 02:22:09 +00:00
Mark Andrews
19c5c23ef6 fix compiler warning: While loop condition is always non-zero.
nxt_30.c enforce type range to 1..127. DNS_R_RANGE otherwise.
1999-11-03 01:07:02 +00:00
Brian Wellington
57a750e9ee yet another case of missing trailing dots 1999-11-02 19:52:29 +00:00
Bob Halley
4a73cf8ee0 update copyrights 1999-10-31 18:42:01 +00:00
Mark Andrews
d13792dd52 ensure comparisions of pointers are for the same type. 1999-10-29 13:21:08 +00:00
Mark Andrews
90adbb5f1c Remove various "enumerated type mixed with another type" warnings.
More still to be removed.
#define ISC_TF(x) to covert logical result to isc_boolean_t
1999-10-29 12:56:58 +00:00
Mark Andrews
7f2ad79f65 "do" was missing from the RETERR macro:
#define RETERR(x) do { \
        ret = (x); \
        if (ret != ISC_R_SUCCESS) \
                return (ret); \
        } while (0)
1999-10-29 05:25:57 +00:00
Brian Wellington
904a34b853 DH constants are mostly statically allocated now 1999-10-27 20:46:33 +00:00
Brian Wellington
b76a252ade fix yesterday's hmac context fix 1999-10-27 16:52:55 +00:00
Brian Wellington
e7b4d4feb4 fix context handling 1999-10-26 19:43:25 +00:00
Brian Wellington
d5334bc183 dst_sig_size changes 1999-10-26 19:31:52 +00:00
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