aboutsummaryrefslogtreecommitdiffstats
path: root/g10/openfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/openfile.c')
-rw-r--r--g10/openfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/openfile.c b/g10/openfile.c
index 78f4dbbcb..fd9edb66b 100644
--- a/g10/openfile.c
+++ b/g10/openfile.c
@@ -324,7 +324,7 @@ get_matching_datafile (const char *sigfilename)
fname = xstrdup (sigfilename);
fname[len-(fname[len-1]=='n'?5:4)] = 0 ;
- if (access (fname, R_OK ))
+ if (gnupg_access (fname, R_OK ))
{
/* Not found or other error. */
xfree (fname);