diff options
author | Linus Nordberg <linus@nordu.net> | 2016-04-06 10:07:48 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-04-07 16:06:12 +0200 |
commit | 03874b8eca8f065f6a1b133f06f19c0ff1d1494e (patch) | |
tree | 49ba20ad12e907270468353bc868742001086098 /tools/dnssec/dns-text2wire.c | |
parent | b8d1f0175850fbbbb8e8f6e2cdab5438ab8a54b6 (diff) |
Add unit test for validation, from dnssecport:handle_call().
- The port now returns the RRset (DS, chain, trust root and all
RRSIG's). This in preparatino for when this data will be normalised.
- dnssecport decodes and encodes DNS data.
- v1 stores the DS RR in the leaf and the rest, including the DS
RRSIG, in the chain.
Diffstat (limited to 'tools/dnssec/dns-text2wire.c')
-rw-r--r-- | tools/dnssec/dns-text2wire.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/dnssec/dns-text2wire.c b/tools/dnssec/dns-text2wire.c index 99d418f..f15ae19 100644 --- a/tools/dnssec/dns-text2wire.c +++ b/tools/dnssec/dns-text2wire.c @@ -38,6 +38,7 @@ main(int argc, char *argv[]) r = getdns_rr_dict2wire(rr, &buf, &buf_len); assert(!r); ssize_t n = write(1, buf, buf_len); + free(buf); assert(n == buf_len); } return 0; |