mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +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:
parent
b5aa197a5f
commit
add0e34bab
@ -427,7 +427,7 @@ set_pinentry_prompt(ctrl_t ctrl, int which, const char *prompt)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!rc && ctrl->app_ctx)
|
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;
|
return rc;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user