mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 08:20:01 -04:00
Use isc_one_or_more when calling isc_hex_tobuffer
(cherry picked from commit 7feb0f5b53)
This commit is contained in:
parent
fd76b90126
commit
e8f2bae031
3 changed files with 3 additions and 3 deletions
|
|
@ -61,7 +61,7 @@ generic_fromtext_tlsa(ARGS_FROMTEXT) {
|
|||
/*
|
||||
* Certificate Association Data.
|
||||
*/
|
||||
return isc_hex_tobuffer(lexer, target, -2);
|
||||
return isc_hex_tobuffer(lexer, target, isc_one_or_more);
|
||||
}
|
||||
|
||||
static isc_result_t
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ fromtext_in_eid(ARGS_FROMTEXT) {
|
|||
UNUSED(rdclass);
|
||||
UNUSED(callbacks);
|
||||
|
||||
return isc_hex_tobuffer(lexer, target, -2);
|
||||
return isc_hex_tobuffer(lexer, target, isc_one_or_more);
|
||||
}
|
||||
|
||||
static isc_result_t
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ fromtext_in_nimloc(ARGS_FROMTEXT) {
|
|||
UNUSED(rdclass);
|
||||
UNUSED(callbacks);
|
||||
|
||||
return isc_hex_tobuffer(lexer, target, -2);
|
||||
return isc_hex_tobuffer(lexer, target, isc_one_or_more);
|
||||
}
|
||||
|
||||
static isc_result_t
|
||||
|
|
|
|||
Loading…
Reference in a new issue