[Pkg-gnupg-commit] [gnupg2] 03/102: gpg: Request a "save" after cmd "check" fixed something.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jun 17 00:14:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit d33b35f7481caa0dcb25f9fa7d6c5bb27895297a
Author: Werner Koch <wk at gnupg.org>
Date:   Mon May 9 20:57:20 2016 +0200

    gpg: Request a "save" after cmd "check" fixed something.
    
    * g10/keyedit.c (keyedit_menu) <cmdCHECK>: Set modified.
    --
    
    Reported-by: Guilhem Moulin <guilhem at fripost.org>
    GnuPG-bug-id: 2236
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 g10/keyedit.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/g10/keyedit.c b/g10/keyedit.c
index 5461864..7ddf342 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -2206,8 +2206,9 @@ keyedit_menu (ctrl_t ctrl, const char *username, strlist_t locusr,
 	  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:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list