1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-08 17:43:04 +01:00

* keyedit.c (keyedit_menu): Only print the key signing hint when signing

from a place where it is useful (i.e. --edit-key and not --sign-key).
This commit is contained in:
David Shaw 2005-02-24 21:21:14 +00:00
parent 05ae122659
commit 522ca12084
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-02-24 David Shaw <dshaw@jabberwocky.com>
* keyedit.c (keyedit_menu): Only print the key signing hint when
signing from a place where it is useful (i.e. --edit-key and not
--sign-key).
2005-02-16 Werner Koch <wk@g10code.com> 2005-02-16 Werner Koch <wk@g10code.com>
* card-util.c (fetch_url): Fetch the key from the default * card-util.c (fetch_url): Fetch the key from the default

View File

@ -1637,7 +1637,8 @@ keyedit_menu( const char *username, STRLIST locusr,
} }
} }
if( count_uids(keyblock) > 1 && !count_selected_uids(keyblock) ) if( count_uids(keyblock) > 1 && !count_selected_uids(keyblock)
&& !have_commands )
{ {
if( !cpr_get_answer_is_yes("keyedit.sign_all.okay", if( !cpr_get_answer_is_yes("keyedit.sign_all.okay",
_("Really sign all user IDs?" _("Really sign all user IDs?"