diff options
Diffstat (limited to 'scd/app-piv.c')
-rw-r--r-- | scd/app-piv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scd/app-piv.c b/scd/app-piv.c index 441475b12..ead1b1974 100644 --- a/scd/app-piv.c +++ b/scd/app-piv.c @@ -1681,6 +1681,9 @@ cache_pin (app_t app, ctrl_t ctrl, int pinno, { char pinref[20]; + if (opt.pcsc_shared) + return; + if (pinno < 0) return; switch (app->card->cardtype) |