mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
Return successfully when the app has no SCD pin prompt callback.
* scd/app.c (app_set_pin_prompt): Create a log message when the app contains no pinentry prompt callback and return 0.
This commit is contained in:
parent
add0e34bab
commit
7a61398e67
@ -1043,7 +1043,10 @@ app_set_pin_prompt(app_t app, int which, const char *prompt)
|
||||
return gpg_error (GPG_ERR_INV_VALUE);
|
||||
|
||||
if (!app->fnc.set_pin_prompt)
|
||||
return gpg_error (GPG_ERR_UNSUPPORTED_OPERATION);
|
||||
{
|
||||
log_info ("no pinentry prompt callback for app has been set");
|
||||
return 0;
|
||||
}
|
||||
|
||||
return app->fnc.set_pin_prompt (app, which, prompt);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user