2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

silence compiler warning

This commit is contained in:
Mark Andrews
2013-01-11 17:38:01 +11:00
parent b5d3508e8a
commit c8bfcec3c9
3 changed files with 4 additions and 3 deletions

View File

@@ -8218,7 +8218,8 @@ ns_server_signing(ns_server_t *server, char *args, isc_buffer_t *text) {
isc_buffer_putstr(text, "request queued");
isc_buffer_putuint8(text, 0);
} else if (chain) {
CHECK(dns_zone_setnsec3param(zone, hash, flags, iter,
CHECK(dns_zone_setnsec3param(zone, (isc_uint8_t)hash,
(isc_uint8_t)flags, iter,
(isc_uint8_t)saltlen, salt,
ISC_TRUE));
isc_buffer_putstr(text, "request queued");

View File

@@ -2025,7 +2025,7 @@ dns_zone_keydone(dns_zone_t *zone, const char *data);
isc_result_t
dns_zone_setnsec3param(dns_zone_t *zone, isc_uint8_t hash, isc_uint8_t flags,
isc_uint8_t iter, isc_uint8_t saltlen,
isc_uint16_t iter, isc_uint8_t saltlen,
unsigned char *salt, isc_boolean_t replace);
/*%
* Set the NSEC3 parameters for the zone.

View File

@@ -16571,7 +16571,7 @@ setnsec3param(isc_task_t *task, isc_event_t *event) {
isc_result_t
dns_zone_setnsec3param(dns_zone_t *zone, isc_uint8_t hash, isc_uint8_t flags,
isc_uint8_t iter, isc_uint8_t saltlen,
isc_uint16_t iter, isc_uint8_t saltlen,
unsigned char *salt, isc_boolean_t replace)
{
isc_result_t result = ISC_R_SUCCESS;