* keyedit.c (keyedit_menu): Only print the key signing hint when signing
authorDavid Shaw <dshaw@jabberwocky.com>
Thu, 24 Feb 2005 21:21:14 +0000 (21:21 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Thu, 24 Feb 2005 21:21:14 +0000 (21:21 +0000)
from a place where it is useful (i.e. --edit-key and not --sign-key).

g10/ChangeLog
g10/keyedit.c

index c2fe6d1..cd0da94 100644 (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>
 
        * card-util.c (fetch_url): Fetch the key from the default
index 27cd941..46759ef 100644 (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",
                                             _("Really sign all user IDs?"