UNUSED(options);
UNUSED(callbacks);
- return isc_base64_tobuffer(lexer, target, -2);
+ return isc_base64_tobuffer(lexer, target, isc_one_or_more);
}
static isc_result_t
RETTOK(dns_secalg_fromtext(&secalg, &token.value.as_textregion));
RETERR(mem_tobuffer(target, &secalg, 1));
- return isc_base64_tobuffer(lexer, target, -2);
+ return isc_base64_tobuffer(lexer, target, isc_one_or_more);
}
static isc_result_t
UNUSED(options);
UNUSED(callbacks);
- return isc_base64_tobuffer(lexer, target, -2);
+ return isc_base64_tobuffer(lexer, target, isc_one_or_more);
}
static isc_result_t
/*
* Public key.
*/
- return isc_base64_tobuffer(lexer, target, -2);
+ return isc_base64_tobuffer(lexer, target, isc_one_or_more);
}
static isc_result_t
*/
used = isc_buffer_usedlength(target);
- RETERR(isc_base64_tobuffer(lexer, target, -2));
+ RETERR(isc_base64_tobuffer(lexer, target, isc_one_or_more));
if (alg == DNS_KEYALG_PRIVATEDNS || alg == DNS_KEYALG_PRIVATEOID) {
isc_buffer_t b;
return ISC_R_SUCCESS;
}
- return isc_base64_tobuffer(lexer, target, -2);
+ return isc_base64_tobuffer(lexer, target, isc_one_or_more);
}
static isc_result_t
/*
* Keyring.
*/
- return isc_base64_tobuffer(lexer, target, -2);
+ return isc_base64_tobuffer(lexer, target, isc_one_or_more);
}
static isc_result_t
*/
used = isc_buffer_usedlength(target);
- RETERR(isc_base64_tobuffer(lexer, target, -2));
+ RETERR(isc_base64_tobuffer(lexer, target, isc_one_or_more));
if (alg == DNS_KEYALG_PRIVATEDNS || alg == DNS_KEYALG_PRIVATEOID) {
isc_buffer_t b;
*/
used = isc_buffer_usedlength(target);
- RETERR(isc_base64_tobuffer(lexer, target, -2));
+ RETERR(isc_base64_tobuffer(lexer, target, isc_one_or_more));
if (alg == DNS_KEYALG_PRIVATEDNS || alg == DNS_KEYALG_PRIVATEOID) {
isc_buffer_t b;
UNUSED(options);
UNUSED(callbacks);
- return isc_base64_tobuffer(lexer, target, -2);
+ return isc_base64_tobuffer(lexer, target, isc_one_or_more);
}
static isc_result_t