diff options
Diffstat (limited to 'dnstlsa.c')
| -rw-r--r-- | dnstlsa.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -58,7 +58,6 @@ void main(int argc, char **argv) | |||
| 58 | substdio_putsflush(subfdout, "\n"); | 58 | substdio_putsflush(subfdout, "\n"); |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | dns_init(0); | ||
| 62 | dnsdoe(dns_tlsa(&out, &sa)); | 61 | dnsdoe(dns_tlsa(&out, &sa)); |
| 63 | 62 | ||
| 64 | int pos = 0; | 63 | int pos = 0; |
| @@ -90,6 +89,8 @@ void main(int argc, char **argv) | |||
| 90 | substdio_put(subfdout, "0123456789abcdef" + (ch >> 4), 1); | 89 | substdio_put(subfdout, "0123456789abcdef" + (ch >> 4), 1); |
| 91 | substdio_put(subfdout, "0123456789abcdef" + (ch & 0x0F), 1); | 90 | substdio_put(subfdout, "0123456789abcdef" + (ch & 0x0F), 1); |
| 92 | } | 91 | } |
| 92 | |||
| 93 | substdio_puts(subfdout, dns_last_query_validated() ? " [dnssec validated]" : " [no dnssec validated]"); | ||
| 93 | substdio_putsflush(subfdout, "\n"); | 94 | substdio_putsflush(subfdout, "\n"); |
| 94 | pos += rrlen; | 95 | pos += rrlen; |
| 95 | } | 96 | } |
