aboutsummaryrefslogtreecommitdiffstats
path: root/agent/query.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--agent/query.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/agent/query.c b/agent/query.c
index c7cba5e93..64333d035 100644
--- a/agent/query.c
+++ b/agent/query.c
@@ -103,9 +103,8 @@ start_pinentry (void)
return unlock_pinentry (seterr (Write_Error));
}
- /* FIXME: change the default location of the program */
if (!opt.pinentry_program || !*opt.pinentry_program)
- opt.pinentry_program = "../../pinentry/kpinentry/kpinentry";
+ opt.pinentry_program = GNUPG_DEFAULT_PINENTRY;
if ( !(pgmname = strrchr (opt.pinentry_program, '/')))
pgmname = opt.pinentry_program;
else