1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* query.c (start_pinentry): Use GNUPG_DERAULT_PINENTRY.

* call-scd.c (start_scd): Use GNUPG_DEFAULT_SCDAEMON.
This commit is contained in:
Werner Koch 2002-06-29 14:01:35 +00:00
parent 3f51f7db3d
commit 2082905525
3 changed files with 7 additions and 4 deletions

View file

@ -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