close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23456 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -391,6 +391,7 @@ file_init_common(hx509_context context,
|
|||||||
p, strerror(errno));
|
p, strerror(errno));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
rk_cloexec_file(f);
|
||||||
|
|
||||||
ret = hx509_pem_read(context, f, pem_func, &pem_ctx);
|
ret = hx509_pem_read(context, f, pem_func, &pem_ctx);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|||||||
Reference in New Issue
Block a user