summaryrefslogtreecommitdiffstats
path: root/validator/val_utils.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2015-04-26 11:23:26 +0000
committerdes <des@FreeBSD.org>2015-04-26 11:23:26 +0000
commitfe0c01d26579d19ddf439fb46ef0bd3cc2bc7f4c (patch)
tree01c1d94467622a175fad10cd34a2f6f05d32c1b7 /validator/val_utils.h
parentcabe860377233bc13a6d101fdb59bb834cab980a (diff)
downloadFreeBSD-src-fe0c01d26579d19ddf439fb46ef0bd3cc2bc7f4c.zip
FreeBSD-src-fe0c01d26579d19ddf439fb46ef0bd3cc2bc7f4c.tar.gz
import unbound 1.5.2
Diffstat (limited to 'validator/val_utils.h')
-rw-r--r--validator/val_utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/validator/val_utils.h b/validator/val_utils.h
index b0344ef..cdb8769 100644
--- a/validator/val_utils.h
+++ b/validator/val_utils.h
@@ -295,6 +295,13 @@ void val_fill_reply(struct reply_info* chase, struct reply_info* orig,
size_t cname_skip, uint8_t* name, size_t len, uint8_t* signer);
/**
+ * Remove rrset with index from reply, from the authority section.
+ * @param rep: reply to remove it from.
+ * @param index: rrset to remove, must be in the authority section.
+ */
+void val_reply_remove_auth(struct reply_info* rep, size_t index);
+
+/**
* Remove all unsigned or non-secure status rrsets from NS and AR sections.
* So that unsigned data does not get let through to clients, when we have
* found the data to be secure.
OpenPOWER on IntegriCloud