mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
This commit is contained in:
parent
842d233d40
commit
f440cf73ea
8 changed files with 32 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue