Home GnuPG
Diffusion GnuPG 8a012280e0f0

gpg,common: Move the compliance framework.

Description

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>

Details

Provenance
justusAuthored on May 31 2017, 2:33 PM
Parents
rG02af509dfc2b: gpg: Fix compliance computation.
Branches
Unknown
Tags
Unknown