aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Kibbey <[email protected]>2012-01-24 02:26:41 +0000
committerBen Kibbey <[email protected]>2012-01-24 02:28:52 +0000
commitadd0e34babcc6750f4675a8ab3b189b01127116f (patch)
treec82039926f4834dd8cc7077732d6c48542a943a6
parentSet both the app and default SCD pin prompt at the same time. (diff)
downloadgnupg-add0e34babcc6750f4675a8ab3b189b01127116f.tar.gz
gnupg-add0e34babcc6750f4675a8ab3b189b01127116f.zip
Fix setting the wrong SCD pin prompt in the app.
* scd/command.c (set_pinentry_prompt): Fix typo.
-rw-r--r--scd/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/command.c b/scd/command.c
index 7b7536bba..0b82a2b37 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -427,7 +427,7 @@ set_pinentry_prompt(ctrl_t ctrl, int which, const char *prompt)
}
if (!rc && ctrl->app_ctx)
- rc = app_set_pin_prompt (ctrl->app_ctx, PIN_SIGN_PROMPT, prompt);
+ rc = app_set_pin_prompt (ctrl->app_ctx, which, prompt);
return rc;
}