diff options
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/generic/ds_43.c')
-rw-r--r-- | usr.bin/dig/lib/dns/rdata/generic/ds_43.c | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/generic/ds_43.c b/usr.bin/dig/lib/dns/rdata/generic/ds_43.c index 999173c8867..ada1e9c9d48 100644 --- a/usr.bin/dig/lib/dns/rdata/generic/ds_43.c +++ b/usr.bin/dig/lib/dns/rdata/generic/ds_43.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: ds_43.c,v 1.3 2020/02/20 18:08:51 florian Exp $ */ +/* $Id: ds_43.c,v 1.4 2020/02/23 19:54:26 jung Exp $ */ /* RFC3658 */ @@ -259,28 +259,6 @@ freestruct_ds(ARGS_FREESTRUCT) { free(ds->digest); } -static inline isc_result_t -additionaldata_ds(ARGS_ADDLDATA) { - REQUIRE(rdata->type == dns_rdatatype_ds); - - UNUSED(rdata); - UNUSED(add); - UNUSED(arg); - - return (ISC_R_SUCCESS); -} - -static inline isc_result_t -digest_ds(ARGS_DIGEST) { - isc_region_t r; - - REQUIRE(rdata->type == dns_rdatatype_ds); - - dns_rdata_toregion(rdata, &r); - - return ((digest)(arg, &r)); -} - static inline isc_boolean_t checkowner_ds(ARGS_CHECKOWNER) { @@ -294,18 +272,6 @@ checkowner_ds(ARGS_CHECKOWNER) { return (ISC_TRUE); } -static inline isc_boolean_t -checknames_ds(ARGS_CHECKNAMES) { - - REQUIRE(rdata->type == dns_rdatatype_ds); - - UNUSED(rdata); - UNUSED(owner); - UNUSED(bad); - - return (ISC_TRUE); -} - static inline int casecompare_ds(ARGS_COMPARE) { return (compare_ds(rdata1, rdata2)); |