Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
59d15355
Commit
59d15355
authored
Aug 01, 2002
by
Danny Mayer
Browse files
casts required
parent
8ef03ac2
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/dns/rdata/generic/ds_43.c
View file @
59d15355
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: ds_43.c,v 1.
2
2002/0
6/17 04:01:35 marka
Exp $ */
/* $Id: ds_43.c,v 1.
3
2002/0
8/01 03:31:44 mayer
Exp $ */
/* draft-ietf-dnsext-delegation-signer-05.txt */
...
...
@@ -62,7 +62,7 @@ fromtext_ds(ARGS_FROMTEXT) {
if
(
token
.
value
.
as_ulong
>
0xff
)
RETTOK
(
ISC_R_RANGE
);
RETERR
(
uint8_tobuffer
(
token
.
value
.
as_ulong
,
target
));
type
=
token
.
value
.
as_ulong
;
type
=
(
isc_uint16_t
)
token
.
value
.
as_ulong
;
/*
* Digest.
...
...
lib/dns/rdata/in_1/apl_42.c
View file @
59d15355
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: apl_42.c,v 1.
3
2002/0
7
/0
4
0
4:19:5
4 ma
rka
Exp $ */
/* $Id: apl_42.c,v 1.
4
2002/0
8
/0
1
0
3:31:4
4 ma
yer
Exp $ */
/* RFC 3123 */
...
...
@@ -53,7 +53,7 @@ fromtext_in_apl(ARGS_FROMTEXT) {
neg
=
ISC_TF
(
*
cp
==
'!'
);
if
(
neg
)
cp
++
;
afi
=
strtoul
(
cp
,
&
ap
,
10
);
afi
=
(
isc_uint16_t
)
strtoul
(
cp
,
&
ap
,
10
);
if
(
*
ap
++
!=
':'
||
cp
==
ap
)
RETTOK
(
DNS_R_SYNTAX
);
if
(
afi
>
0xffff
)
...
...
@@ -62,7 +62,7 @@ fromtext_in_apl(ARGS_FROMTEXT) {
if
(
slash
==
NULL
||
slash
==
ap
)
RETTOK
(
DNS_R_SYNTAX
);
*
slash
++
=
'\0'
;
prefix
=
strtoul
(
slash
,
&
cp
,
10
);
prefix
=
(
isc_uint8_t
)
strtoul
(
slash
,
&
cp
,
10
);
if
(
*
cp
!=
'\0'
||
slash
==
cp
)
RETTOK
(
DNS_R_SYNTAX
);
switch
(
afi
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment