aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/dns.c2
-rw-r--r--dirmngr/http.c2
2 files changed, 2 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();
diff --git a/dirmngr/http.c b/dirmngr/http.c
index 81b7ba897..8e0701fab 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -792,6 +792,8 @@ http_session_new (http_session_t *r_session,
pemname, gnutls_strerror (rc));
xfree (pemname);
}
+
+ add_system_cas = 0;
}
/* Add configured certificates to the session. */