David Lawrence
65f7626dff
cast int arguments to isc_buffer_putuint{16,32} to appropriate size.
...
they are already masked out of a 64 bit int to the correct size, but
NT's CL is Unaware.
1999-10-08 22:48:13 +00:00
David Lawrence
793213e886
assign char prefixlen from token.value.as_char, not token.value_.as_ulong.
...
it has already been checked for range.
1999-10-08 22:46:28 +00:00
William King
e8f6c68c44
added .SILENT to suppress spurious make message on stdout
1999-10-08 22:43:47 +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
David Lawrence
25ebcfe710
fixed some string manipulation that was aesthetically unpleasing to me.
...
it must have been the percocet that made me do it the other way. sorry.
1999-10-08 21:55:31 +00:00
David Lawrence
a7c70d26b9
removed 2nd, redundant, lib/dns/sec/dst/Makefile.in
1999-10-08 21:53:11 +00:00
David Lawrence
63430de345
Check the rdata type for range before uint16_tobuffer, because by the time
...
uint16_tobuffer is called the loss of data from strtol() already occurred
and uint16_tobuffer would not be able to detect a range error.
delint: integral size mismatch in call to dns_rcode_totext with a 32 bit
int passed where a 16 bit is expected. since the variable was retrieved
via uint16_fromregion immediately prior to dns_rcode_totext, casting
the 32 bit to 16 bit (to dns_rcode_t) is sufficient.
1999-10-08 21:45:01 +00:00
David Lawrence
0bd044c2af
Check the rdata type for range before uint16_tobuffer, because by the time
...
uint16_tobuffer is called the loss of data from strtol() already occurred
and uint16_tobuffer would not be able to detect a range error.
also, use token.value.as_char when assigning to char c, which is already
checked to be < 256.
1999-10-08 21:42:23 +00:00
David Lawrence
6e482e595d
fromtext_nxt(): check the range of 'dns_rdatatype_t covered' from the long int
...
that is read via strtol() rather than assigning covered directly from strtol(),
so that a value greater than the width of dns_rdatatype_t can be detected.
1999-10-08 21:26:42 +00:00
David Lawrence
722cc17289
delint: integral size mismatch in call to dns_cert_totext with a 32 bit
...
int passed where a 16 bit is expected. since the variable was retrieved
via uint16_fromregion immediately prior to dns_cert_totext, casting
the 32 bit to 16 bit (to dns_cert_t) is sufficient.
1999-10-08 21:22:27 +00:00
Brian Wellington
949d406b57
reference counting on TSIG keys. Necessary for TKEY delete
1999-10-08 20:14:47 +00:00
William King
746e7fb32f
fixed a test case
1999-10-08 19:04:56 +00:00
William King
e582897ab4
silenced make action echo for target test:
1999-10-08 18:43:15 +00:00
William King
43383e3599
fixed expected result of one test
1999-10-08 18:38:55 +00:00
Brian Wellington
3f6dc1703f
tsig structure/function name change
1999-10-08 18:37:24 +00:00
Bob Halley
139154bd98
fix the makefile fixes added because nmake sucks
1999-10-08 16:40:38 +00:00
Brian Wellington
2c12fc4d63
the TSIG key name shouldn't be created with dns_name_dup
1999-10-08 16:39:17 +00:00
Brian Wellington
069104dd6a
the message->cleanup list was being improperly cleaned
1999-10-08 14:59:02 +00:00
Brian Wellington
22fe53a629
more warning fixes
1999-10-08 13:08:57 +00:00
Mark Andrews
41a28deee4
Need to take address of signer.
1999-10-08 06:54:23 +00:00
Bob Halley
d2358a453e
improve exit/cleanup code
1999-10-08 00:05:59 +00:00
William King
31654d4333
ran into what looks like a compiler problem ...
1999-10-07 22:49:27 +00:00
Brian Wellington
452123247d
updated to match struct changes for tsig and sig
1999-10-07 21:51:49 +00:00
Brian Wellington
cf3f14106d
Changed 'dns_name_t *' in structs to 'dns_name_t'
1999-10-07 21:49:39 +00:00
Brian Wellington
be51993531
added key to/from/free struct
1999-10-07 21:48:52 +00:00
William King
fa20568962
*** empty log message ***
1999-10-07 21:23:59 +00:00
William King
69f5e6b73b
changed dependencies
1999-10-07 21:12:54 +00:00
Brian Wellington
e14bb110b5
linux capability stuff didn't work with kernel 2.2 and glibc 2.0
1999-10-07 20:45:46 +00:00
Bob Halley
92d5e65479
add adb_test and nconf_test
1999-10-07 19:45:19 +00:00
Bob Halley
4fdb67f4eb
resolver support checkpoint; partial AD support
1999-10-07 19:44:22 +00:00
Bob Halley
0fef48d0e6
ends fixes; clear AA and AD on error
1999-10-07 19:43:18 +00:00
Bob Halley
e3027d397f
resolver checkpoint
1999-10-07 19:41:16 +00:00
Bob Halley
63d1ef9e77
add DNS_R_DROP
1999-10-07 19:40:57 +00:00
Bob Halley
21737e85d8
preserve rr ordering
1999-10-07 19:40:30 +00:00
Bob Halley
3e70e0a2c0
hack to avoid resolver issues
1999-10-07 19:39:53 +00:00
Bob Halley
6d58c9b95e
unsend
1999-10-07 19:38:39 +00:00
Bob Halley
33fdc68000
do not build res_test for now
1999-10-07 19:37:40 +00:00
Bob Halley
9f4dd67b1f
drop privs on linux
1999-10-07 19:35:02 +00:00
Bob Halley
f4c06dafd5
cancel i/o before detaching from socket
1999-10-07 19:33:54 +00:00
Bob Halley
1c7ac6d8f5
allocate qrdataset dynamically
1999-10-07 19:33:12 +00:00
Bob Halley
5c00d1c900
check for chroot and linux/capability.h
1999-10-07 19:32:08 +00:00
Bob Halley
5d454a5920
using $? is bad
1999-10-07 16:28:23 +00:00
William King
02cae3f325
added -b option
1999-10-07 14:36:45 +00:00
Bob Halley
36ca3df1eb
revert to 1.54
1999-10-07 02:56:46 +00:00
Bob Halley
c44989e64a
revert to 1.25 (unix only)
1999-10-07 02:55:00 +00:00