mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
scd:p15: Take derive usage into account for decryption (2).
* scd/app-p15.c (do_getattr): Yet another palce to fix. -- GnuPG-bug-id: 7000 Co-authored-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
This commit is contained in:
parent
3341017ff1
commit
1e496cf2e5
@ -4936,7 +4936,8 @@ do_getattr (app_t app, ctrl_t ctrl, const char *name)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (prkdf->usageflags.decrypt || prkdf->usageflags.unwrap)
|
if (prkdf->usageflags.decrypt || prkdf->usageflags.unwrap
|
||||||
|
|| prkdf->usageflags.derive)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user