[git] GPA - branch, master, updated. gpa-0.10.0-3-gd7f0e50

by Werner Koch cvs at cvs.gnupg.org
Thu Oct 18 11:29:37 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Assistant".

The branch, master has been updated
       via  d7f0e50b7a455dc98df933e18ea6718b9e2649c3 (commit)
      from  9ac18119fb3c82197169718f1c7d5786119398ce (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d7f0e50b7a455dc98df933e18ea6718b9e2649c3
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Oct 18 11:29:05 2018 +0200

    Replace use of the GPGME_KEYLIST_MODE_LOCATE alias
    
    * src/gpaimportserverop.c (search_keys): Use Extern and local instead.
    --
    
    This way we can build with older gpgme versions.
    
    Reported-by: Andreas Stieger <astieger at suse.com>
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/src/gpaimportserverop.c b/src/gpaimportserverop.c
index 76eb78d..e52a14c 100644
--- a/src/gpaimportserverop.c
+++ b/src/gpaimportserverop.c
@@ -148,7 +148,8 @@ search_keys (GpaImportOperation *operation, const char *keyid)
   mbox = gpgme_addrspec_from_uid (keyid);
   if (mbox)
     {
-      listmode = GPGME_KEYLIST_MODE_LOCATE;
+      /* GPGME_KEYLIST_MODE_LOCATE is an alias for below. */
+      listmode = (GPGME_KEYLIST_MODE_LOCAL | GPGME_KEYLIST_MODE_EXTERN);
       /* We already extracted the mbox - use it directly than letting
        * gnupg extract it.  */
       keyid = mbox;

-----------------------------------------------------------------------

Summary of changes:
 src/gpaimportserverop.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Assistant
http://git.gnupg.org




More information about the Gnupg-commits mailing list