aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-openpgp.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/app-openpgp.c')
-rw-r--r--scd/app-openpgp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index 82625b0ae..3d96467bf 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -2931,6 +2931,10 @@ do_setattr (app_t app, ctrl_t ctrl, const char *name,
value = NULL;
valuelen = 0;
}
+
+ cache_pin (app, ctrl, 1, NULL);
+ cache_pin (app, ctrl, 2, NULL);
+ cache_pin (app, ctrl, 3, NULL);
}
else
{