From add0e34babcc6750f4675a8ab3b189b01127116f Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Mon, 23 Jan 2012 21:26:41 -0500 Subject: [PATCH] Fix setting the wrong SCD pin prompt in the app. * scd/command.c (set_pinentry_prompt): Fix typo. --- scd/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }