diff options
author | Justus Winter <justus@g10code.com> | 2017-05-31 14:33:45 +0200 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2017-06-01 12:09:43 +0200 |
commit | 8a012280e0f0a462c094d106355aa436fceb1b76 (patch) | |
tree | 894f6e525cbe50c8cc121a46069f213f58f0e6b5 /common/Makefile.am | |
parent | gpg: Fix compliance computation. (diff) | |
download | gnupg2-8a012280e0f0a462c094d106355aa436fceb1b76.tar.xz gnupg2-8a012280e0f0a462c094d106355aa436fceb1b76.zip |
gpg,common: Move the compliance framework.
* common/Makefile.am (common_sources): Add new files.
* common/compliance.c: New file. Move 'gnupg_pk_is_compliant' here,
and tweak it to not rely on types private to gpg.
* common/compliance.h: New file. Move the compliance enum here.
* g10/keylist.c (print_compliance_flags): Adapt callsite.
* g10/main.h (gnupg_pk_is_compliant): Remove prototype.
* g10/misc.c (gnupg_pk_is_compliant): Remove function.
* g10/options.h (opt): Use the new compliance enum.
* sm/keylist.c (print_compliance_flags): Use the common functions.
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'common/Makefile.am')
-rw-r--r-- | common/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index 83d82ac1f..fcbe7ea66 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -93,7 +93,8 @@ common_sources = \ server-help.c server-help.h \ name-value.c name-value.h \ recsel.c recsel.h \ - ksba-io-support.c ksba-io-support.h + ksba-io-support.c ksba-io-support.h \ + compliance.c compliance.h if HAVE_W32_SYSTEM |