aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect-tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/protect-tool.c')
-rw-r--r--agent/protect-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/protect-tool.c b/agent/protect-tool.c
index 0ba31c1a0..f55a7354d 100644
--- a/agent/protect-tool.c
+++ b/agent/protect-tool.c
@@ -275,7 +275,7 @@ read_file (const char *fname, size_t *r_length)
{
struct stat st;
- fp = fopen (fname, "rb");
+ fp = gnupg_fopen (fname, "rb");
if (!fp)
{
log_error ("can't open '%s': %s\n", fname, strerror (errno));