[git] GpgOL - branch, master, updated. gpgol-2.3.1-30-g5152f5a

by Andre Heinecke cvs at cvs.gnupg.org
Thu Nov 8 13:41:54 CET 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 "GnuPG extension for MS Outlook".

The branch, master has been updated
       via  5152f5a30c7bbf4716f7c6b1c279f7de3f47595c (commit)
       via  bdba540b6759fdcc0f5237f7be1bbca8cc57812f (commit)
      from  7b7226d6982e7ab2d44de72c298f59eff0932058 (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 5152f5a30c7bbf4716f7c6b1c279f7de3f47595c
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Thu Nov 8 13:40:30 2018 +0100

    Set validate keylist mode for keycache
    
    * src/keycache.cpp (do_populate_protocol): Add validate option.
    
    --
    This fixes S/MIME keys for verfied signatures to have trust
    level 2 (because their trust was unknown) before the key
    is first updated.

diff --git a/src/keycache.cpp b/src/keycache.cpp
index 1371930..3352144 100644
--- a/src/keycache.cpp
+++ b/src/keycache.cpp
@@ -229,7 +229,9 @@ do_populate_protocol (GpgME::Protocol proto, bool secret)
       TRETURN;
     }
 
-  ctx->setKeyListMode (GpgME::KeyListMode::Local);
+  ctx->setKeyListMode (GpgME::KeyListMode::Local |
+                       GpgME::KeyListMode::Validate);
+  ctx->setOffline (true);
   GpgME::Error err;
 
    if ((err = ctx->startKeyListing ((const char*)nullptr, secret)))

commit bdba540b6759fdcc0f5237f7be1bbca8cc57812f
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Thu Nov 8 13:38:27 2018 +0100

    Fix 64bit format error
    
    * src/windowmessages.cpp (gpgol_window_proc): Fix message id.

diff --git a/src/windowmessages.cpp b/src/windowmessages.cpp
index da73117..c2f2ca0 100644
--- a/src/windowmessages.cpp
+++ b/src/windowmessages.cpp
@@ -303,7 +303,7 @@ gpgol_window_proc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
             }
           default:
             log_debug ("%s:%s: Unknown external msg %i",
-                       SRCNAME, __func__, wParam);
+                       SRCNAME, __func__, (int) wParam);
         }
     }
   else if (message == WM_COPYDATA)

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

Summary of changes:
 src/keycache.cpp       | 4 +++-
 src/windowmessages.cpp | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GnuPG extension for MS Outlook
http://git.gnupg.org




More information about the Gnupg-commits mailing list