aboutsummaryrefslogtreecommitdiffstats
path: root/g10/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/exec.c')
-rw-r--r--g10/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/exec.c b/g10/exec.c
index 3e5dc278b..1baa49f02 100644
--- a/g10/exec.c
+++ b/g10/exec.c
@@ -539,7 +539,7 @@ exec_write(struct exec_info **info,const char *program,
gpg_err_set_errno (EPERM);
}
else
- (*info)->tochild=fopen((*info)->tempfile_in,binary?"wb":"w");
+ (*info)->tochild = gnupg_fopen ((*info)->tempfile_in,binary?"wb":"w");
if((*info)->tochild==NULL)
{
ret = gpg_error_from_syserror ();