summaryrefslogtreecommitdiff
path: root/g10/exec.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-02-09 16:00:56 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-02-09 16:00:56 +0900
commitcba93c71d2653bae01faf0c092b6b7ea1c2a601f (patch)
treee038af5f70b9adabd5c3cfe205e456923cd49114 /g10/exec.c
parent809c8ad8209b0f5248cfc52eb6e1d437099fb228 (diff)
downloadgpg2-cba93c71d2653bae01faf0c092b6b7ea1c2a601f.tar.gz
gpg2-cba93c71d2653bae01faf0c092b6b7ea1c2a601f.tar.bz2
gpg2-cba93c71d2653bae01faf0c092b6b7ea1c2a601f.zip
Imported Upstream version 2.2.24upstream/2.2.24
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 3e5dc27..1baa49f 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 ();