From 522ca120846e5f094abd850143cb2cee4419b6e6 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Thu, 24 Feb 2005 21:21:14 +0000 Subject: [PATCH] * 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). --- g10/ChangeLog | 6 ++++++ g10/keyedit.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/g10/ChangeLog b/g10/ChangeLog index c2fe6d1ca..cd0da9464 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,9 @@ +2005-02-24 David Shaw + + * 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 * card-util.c (fetch_url): Fetch the key from the default diff --git a/g10/keyedit.c b/g10/keyedit.c index 27cd94102..46759ef82 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -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", _("Really sign all user IDs?"