summaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2019-08-22 05:51:17 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2019-08-22 05:51:17 +0200
commite00e68135c01351ed66fed3c4453a1b13c8d522f (patch)
treef32addb951c3f04394cfa09b9db8db5ef06a269b /dirmngr
parentgpg: In a list of card keys show the standard keys. (diff)
downloadgnupg2-e00e68135c01351ed66fed3c4453a1b13c8d522f.tar.xz
gnupg2-e00e68135c01351ed66fed3c4453a1b13c8d522f.zip
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>
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/dns.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dirmngr/dns.c b/dirmngr/dns.c
index 142e8d2c1..2cc1c7049 100644
--- a/dirmngr/dns.c
+++ b/dirmngr/dns.c
@@ -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();