diff options
| author | 2020-02-24 17:45:25 +0000 | |
|---|---|---|
| committer | 2020-02-24 17:45:25 +0000 | |
| commit | ee21177a5b213b2a5b2979caf32f5a2642ca4f1c (patch) | |
| tree | f5e22756492bb51ddc1553c225d9a61efcf89a67 /usr.bin/dig/lib/dns/rdata/generic/cdnskey_60.c | |
| parent | We only need to fill a wire format buffer from soa and tsig structs. (diff) | |
| download | wireguard-openbsd-ee21177a5b213b2a5b2979caf32f5a2642ca4f1c.tar.xz wireguard-openbsd-ee21177a5b213b2a5b2979caf32f5a2642ca4f1c.zip | |
We only need to create cname, ns, soa and tsig structs.
OK jsg
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/generic/cdnskey_60.c')
| -rw-r--r-- | usr.bin/dig/lib/dns/rdata/generic/cdnskey_60.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/generic/cdnskey_60.c b/usr.bin/dig/lib/dns/rdata/generic/cdnskey_60.c index 4b14a09f52c..b3a0aebbe81 100644 --- a/usr.bin/dig/lib/dns/rdata/generic/cdnskey_60.c +++ b/usr.bin/dig/lib/dns/rdata/generic/cdnskey_60.c @@ -56,20 +56,6 @@ towire_cdnskey(ARGS_TOWIRE) { -static inline isc_result_t -tostruct_cdnskey(ARGS_TOSTRUCT) { - dns_rdata_cdnskey_t *dnskey = target; - - REQUIRE(dnskey != NULL); - REQUIRE(rdata != NULL); - REQUIRE(rdata->type == dns_rdatatype_cdnskey); - - dnskey->common.rdclass = rdata->rdclass; - dnskey->common.rdtype = rdata->type; - ISC_LINK_INIT(&dnskey->common, link); - - return (generic_tostruct_key(rdata, target)); -} |
