diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-04-26 11:23:26 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-04-26 11:23:26 +0000 |
commit | d3348d437fb0408bc24892ebd0b035686c294705 (patch) | |
tree | 01c1d94467622a175fad10cd34a2f6f05d32c1b7 /validator/val_utils.h | |
parent | 54dd3272da3f4a5fda7dd6ac359b7cf68e21a796 (diff) |
Diffstat (limited to 'validator/val_utils.h')
-rw-r--r-- | validator/val_utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/validator/val_utils.h b/validator/val_utils.h index b0344eff7de9f..cdb87697e1c28 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. |