dns: Fix irrelevant use of tmpfile.

* dirmngr/dns.c (dns_trace_open): Don't use tmpfile.

GnuPG-bug-id: 4228
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2019-08-22 12:51:17 +09:00
parent ce403c74db
commit e00e68135c
1 changed files with 0 additions and 2 deletions

View File

@ -4505,8 +4505,6 @@ struct dns_trace *dns_trace_open(FILE *fp, dns_error_t *error) {
if (fp) {
trace->fp = fp;
} else if (!(fp = tmpfile())) {
goto syerr;
}
trace->id = dns_trace_mkid();