summaryrefslogtreecommitdiff
path: root/rr.c
diff options
context:
space:
mode:
authorWillem Toorop <willem@nlnetlabs.nl>2016-11-23 15:25:06 +0100
committerWillem Toorop <willem@nlnetlabs.nl>2016-11-23 15:25:06 +0100
commitc60b9ba7e86ca6a894ca95251592a4f67e24b52a (patch)
tree1b45aa451412160d83bac0be0b65356bba97705c /rr.c
parent2c55331e17ac2f93f111bd422b2402cf4e17d0c9 (diff)
downloadldns-c60b9ba7e86ca6a894ca95251592a4f67e24b52a.tar.gz
OPENPGPKEY is RFC
Diffstat (limited to 'rr.c')
-rw-r--r--rr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rr.c b/rr.c
index 5bfd04fb..11ce6864 100644
--- a/rr.c
+++ b/rr.c
@@ -1950,9 +1950,11 @@ static const ldns_rdf_type type_dhcid_wireformat[] = {
static const ldns_rdf_type type_talink_wireformat[] = {
LDNS_RDF_TYPE_DNAME, LDNS_RDF_TYPE_DNAME
};
-/*@unused@*/ static const ldns_rdf_type type_openpgpkey_wireformat[] = {
+#ifdef RRTYPE_OPENPGPKEY
+static const ldns_rdf_type type_openpgpkey_wireformat[] = {
LDNS_RDF_TYPE_B64
};
+#endif
static const ldns_rdf_type type_csync_wireformat[] = {
LDNS_RDF_TYPE_INT32, LDNS_RDF_TYPE_INT16, LDNS_RDF_TYPE_NSEC
};