summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-07-23 12:18:19 +0200
committerWerner Koch <wk@gnupg.org>2014-07-23 12:18:19 +0200
commit17404b2fccbc74c4f0b2364cc08e9dcc64175cf8 (patch)
tree0e1e0df1292352d30ac0536ec18dd5b44e8ef1fe /g10
parentRegister DCO for Andreas Schwier (diff)
downloadgnupg2-17404b2fccbc74c4f0b2364cc08e9dcc64175cf8.tar.xz
gnupg2-17404b2fccbc74c4f0b2364cc08e9dcc64175cf8.zip
gpg: Make --quick-sign-key promote local key signatures.
* g10/keyedit.c (sign_uids): Promote local sigs in quick mode.
Diffstat (limited to 'g10')
-rw-r--r--g10/keyedit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index a91beaf41..c5f02f7b6 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -767,9 +767,7 @@ sign_uids (estream_t fp,
tty_fprintf (fp, _("Your current signature on \"%s\"\n"
"is a local signature.\n"), user);
- if (quick)
- ;
- else if (cpr_get_answer_is_yes
+ if (quick || cpr_get_answer_is_yes
("sign_uid.local_promote_okay",
_("Do you want to promote "
"it to a full exportable " "signature? (y/N) ")))