From 23b92e0f8910f13236bb065528ac7500edffde89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 27 Jul 2008 12:13:31 +0000 Subject: [PATCH] close-on-exec git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23459 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/ks_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hx509/ks_file.c b/lib/hx509/ks_file.c index e04ce0ac1..bb8dce3a4 100644 --- a/lib/hx509/ks_file.c +++ b/lib/hx509/ks_file.c @@ -526,6 +526,7 @@ file_store(hx509_context context, "Failed to open file %s for writing"); return ENOENT; } + rk_cloexec_file(sc.f); sc.format = f->format; ret = hx509_certs_iter(context, f->certs, store_func, &sc);