diff options
author | Justus Winter <justus@g10code.com> | 2017-06-07 12:33:36 +0200 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2017-06-07 16:53:32 +0200 |
commit | f440cf73eab0b0e75e3cb2e8c9e70a77f20ef1dc (patch) | |
tree | 917ac3ec9b7994e2c916fe65970dfb281eabb4f4 /common/compliance.h | |
parent | common,gpg,sm: Move the compliance option parser. (diff) | |
download | gnupg2-f440cf73eab0b0e75e3cb2e8c9e70a77f20ef1dc.tar.xz gnupg2-f440cf73eab0b0e75e3cb2e8c9e70a77f20ef1dc.zip |
common,gpg: Move the compliance option printer.
* common/compliance.c (gnupg_compliance_option_string): New function.
* common/compliance.h (gnupg_compliance_option_string): New prototype.
* g10/encrypt.c (write_pubkey_enc_from_list): Update callsite.
* g10/gpg.c (main): Likewise.
* g10/keyedit.c (keyedit_menu): Likewise.
* g10/pkclist.c (build_pk_list): Likewise.
* g10/main.h (compliance_option_string): Remove prototype.
* g10/misc.c (compliance_option_string): Remove function.
GnuPG-bug-id: 3191
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'common/compliance.h')
-rw-r--r-- | common/compliance.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/compliance.h b/common/compliance.h index 198447c6e..9cbcced7b 100644 --- a/common/compliance.h +++ b/common/compliance.h @@ -58,5 +58,7 @@ int gnupg_parse_compliance_option (const char *string, struct gnupg_compliance_option options[], size_t length, int quiet); +const char *gnupg_compliance_option_string (enum gnupg_compliance_mode compliance); + #endif /*GNUPG_COMMON_COMPLIANCE_H*/ |