diff options
author | Justus Winter <[email protected]> | 2017-06-07 10:33:36 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-06-07 14:53:32 +0000 |
commit | f440cf73eab0b0e75e3cb2e8c9e70a77f20ef1dc (patch) | |
tree | 917ac3ec9b7994e2c916fe65970dfb281eabb4f4 /g10/keyedit.c | |
parent | common,gpg,sm: Move the compliance option parser. (diff) | |
download | gnupg-f440cf73eab0b0e75e3cb2e8c9e70a77f20ef1dc.tar.gz gnupg-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 <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | g10/keyedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index ba08d88c3..9f6add1bc 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -2314,7 +2314,7 @@ keyedit_menu (ctrl_t ctrl, const char *username, strlist_t locusr, if (RFC2440) { tty_printf (_("This command is not allowed while in %s mode.\n"), - compliance_option_string ()); + gnupg_compliance_option_string (opt.compliance)); break; } photo = 1; |