diff options
Diffstat (limited to 'scd/app-nks.c')
-rw-r--r-- | scd/app-nks.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scd/app-nks.c b/scd/app-nks.c index 801ab904a..0f38e7cd0 100644 --- a/scd/app-nks.c +++ b/scd/app-nks.c @@ -1169,6 +1169,9 @@ do_change_pin (app_t app, ctrl_t ctrl, const char *pwidstr, if (!newdesc) return gpg_error (GPG_ERR_INV_ID); + if ((flags & APP_CHANGE_FLAG_CLEAR)) + return gpg_error (GPG_ERR_UNSUPPORTED_OPERATION); + err = switch_application (app, is_sigg); if (err) return err; |