diff options
author | Justus Winter <[email protected]> | 2017-06-19 09:00:04 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-06-19 09:00:04 +0000 |
commit | 6e23416fe61d4130918f2d1bf6e1f98d102c4610 (patch) | |
tree | 0fa8951fd4f6d121cb74e61c44afce304f845b3e /tools/mime-maker.h | |
parent | gpg: Check and fix keys on import. (diff) | |
download | gnupg-6e23416fe61d4130918f2d1bf6e1f98d102c4610.tar.gz gnupg-6e23416fe61d4130918f2d1bf6e1f98d102c4610.zip |
gpg: Disable compliance module for other GnuPG components.
* common/compliance.c (gnupg_{pk,cipher,digest}_is_compliant): Return
false if the module is not initialized.
(gnupg_{pk,cipher,digest}_is_allowed): Return true if the module is
not initialized.
(gnupg_status_compliance_flag): Do not assert that the module is
initialized.
(gnupg_parse_compliance_option): Likewise.
(gnupg_compliance_option_string): Likewise.
--
This implements a default policy for modules not explicitly using the
compliance module. The default policy is to allow all algorithms, but
mark none of them as compliant.
Fixes gpgv.
GnuPG-bug-id: 3210
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tools/mime-maker.h')
0 files changed, 0 insertions, 0 deletions