diff options
| author | Werner Koch <[email protected]> | 2021-04-01 11:08:15 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2021-04-01 11:08:15 +0000 |
| commit | 1d1ec1146c04415c7051af62e133459a4537c945 (patch) | |
| tree | 17455d9f48c5f70b510898f61faffc56e37d0152 /scd/command.c | |
| parent | card: New flag --reread for LIST. (diff) | |
| download | gnupg-1d1ec1146c04415c7051af62e133459a4537c945.tar.gz gnupg-1d1ec1146c04415c7051af62e133459a4537c945.zip | |
common: Make the compliance check more robust.
* common/compliance.c (get_compliance_cache): New.
(gnupg_rng_is_compliant): Use per mode cache.
(gnupg_gcrypt_is_compliant): Ditto.
--
This addresses the problem tha the check might be called with
different compliance values and thus it should return the
corresponding cached result.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'scd/command.c')
0 files changed, 0 insertions, 0 deletions
