diff options
author | Ben Kibbey <[email protected]> | 2012-01-24 02:26:41 +0000 |
---|---|---|
committer | Ben Kibbey <[email protected]> | 2012-01-24 02:28:52 +0000 |
commit | add0e34babcc6750f4675a8ab3b189b01127116f (patch) | |
tree | c82039926f4834dd8cc7077732d6c48542a943a6 | |
parent | Set both the app and default SCD pin prompt at the same time. (diff) | |
download | gnupg-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.c | 2 |
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; } |