summaryrefslogtreecommitdiff
path: root/usr.bin/dig/lib/dns/rdata/generic/key_25.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2020-02-26 18:38:16 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2020-02-26 18:38:16 +0000
commit879c80dca3e3c439e96c9a7d40380c676556b779 (patch)
tree0168c883535a9f7219457e37298cc9c7e0f1cf9a /usr.bin/dig/lib/dns/rdata/generic/key_25.c
parentb1ce528169e0d0bd16e4e993cb43f3494274d860 (diff)
Always printing unknown types as TYPE%u and not sometimes as %u
considerably simplifies dns_rdatatype_attributes() since we then only care about reserved types. tweaks jsg
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/generic/key_25.c')
-rw-r--r--usr.bin/dig/lib/dns/rdata/generic/key_25.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/generic/key_25.c b/usr.bin/dig/lib/dns/rdata/generic/key_25.c
index 5d7439ba0df..9c17a73ed2a 100644
--- a/usr.bin/dig/lib/dns/rdata/generic/key_25.c
+++ b/usr.bin/dig/lib/dns/rdata/generic/key_25.c
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: key_25.c,v 1.10 2020/02/25 05:00:43 jsg Exp $ */
+/* $Id: key_25.c,v 1.11 2020/02/26 18:38:15 florian Exp $ */
/*
* Reviewed: Wed Mar 15 16:47:10 PST 2000 by halley.
@@ -27,8 +27,6 @@
#include <dst/dst.h>
-#define RRTYPE_KEY_ATTRIBUTES (0)
-
static inline isc_result_t
generic_totext_key(ARGS_TOTEXT) {
isc_region_t sr;