aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keydb.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keydb.c')
-rw-r--r--g10/keydb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keydb.c b/g10/keydb.c
index 9798b5cde..e538fe458 100644
--- a/g10/keydb.c
+++ b/g10/keydb.c
@@ -504,7 +504,7 @@ rt_from_file (const char *filename, int *r_found, int *r_openpgp)
KeydbResourceType rt = KEYDB_RESOURCE_TYPE_NONE;
*r_found = *r_openpgp = 0;
- fp = fopen (filename, "rb");
+ fp = gnupg_fopen (filename, "rb");
if (fp)
{
*r_found = 1;