1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Fix setting the wrong SCD pin prompt in the app.

* scd/command.c (set_pinentry_prompt): Fix typo.
This commit is contained in:
Ben Kibbey 2012-01-23 21:26:41 -05:00
parent b5aa197a5f
commit add0e34bab

View File

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