mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
scd: Clear caching PIN at KDF setup.
* scd/app-openpgp.c (do_setattr): Clear PINs. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
316a8cbc75
commit
f4c07fc3d3
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user