[Pkg-gnupg-commit] [gnupg2] 04/292: g10: Load the key block if the supplied user id list is NULL.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:20 UTC 2016


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

dkg pushed a commit to branch master
in repository gnupg2.

commit c2e563421e4fd4f0910642aa7b171bcf0b374b01
Author: Neal H. Walfield <neal at g10code.com>
Date:   Fri Sep 16 15:17:51 2016 +0200

    g10: Load the key block if the supplied user id list is NULL.
    
    * g10/tofu.c (tofu_register_encryption): Load the key block if
    USER_ID_LIST is NULL.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>
---
 g10/tofu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/g10/tofu.c b/g10/tofu.c
index 7f07483..9a60223 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -3023,7 +3023,7 @@ tofu_register_encryption (ctrl_t ctrl,
   if (/* We need the key block to find the primary key.  */
       keyid_cmp (pk_keyid (pk), pk_main_keyid (pk)) != 0
       /* We need the key block to find all user ids.  */
-      || user_id_list)
+      || ! user_id_list)
     kb = get_pubkeyblock (pk->keyid);
 
   /* Make sure PK is a primary key.  */

-- 
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