gpg: Request a "save" after cmd "check" fixed something.
authorWerner Koch <wk@gnupg.org>
Mon, 9 May 2016 18:57:20 +0000 (20:57 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 9 May 2016 19:16:23 +0000 (21:16 +0200)
* g10/keyedit.c (keyedit_menu) <cmdCHECK>: Set modified.
--

Reported-by: Guilhem Moulin <guilhem@fripost.org>
GnuPG-bug-id: 2236
Signed-off-by: Werner Koch <wk@gnupg.org>
g10/keyedit.c

index 5461864..7ddf342 100644 (file)
@@ -2206,8 +2206,9 @@ keyedit_menu (ctrl_t ctrl, const char *username, strlist_t locusr,
          break;
 
        case cmdCHECK:
          break;
 
        case cmdCHECK:
-         check_all_keysigs (keyblock, count_selected_uids (keyblock),
-                             !strcmp (arg_string, "selfsig"));
+         if (check_all_keysigs (keyblock, count_selected_uids (keyblock),
+                                 !strcmp (arg_string, "selfsig")))
+            modified = 1;
          break;
 
        case cmdSIGN:
          break;
 
        case cmdSIGN: