[M-git] Mahogany sources repository. branch master updated. v0.67-748-gb46127b

Vadim Zeitlin via Mahogany-cvsupdates <[email protected]> Fri, 22 Sep 2017 00:39:30 +0000
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
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 "Mahogany sources repository.".

The branch, master has been updated
       via  b46127b91ce9ea5662dea5572d38e79125c2974b (commit)
      from  fc849a11dace55812eb93bf49791baab372bfb78 (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 b46127b91ce9ea5662dea5572d38e79125c2974b
Author: Vadim Zeitlin <[email protected]>
Date:   Fri Sep 22 02:38:46 2017 +0200

    Fix using non default key for signing messages
    
    This never worked due to a missing space before the --local-user option.

diff --git a/src/modules/crypt/PGPEngine.cpp b/src/modules/crypt/PGPEngine.cpp
index c5222ee..0658133 100644
--- a/src/modules/crypt/PGPEngine.cpp
+++ b/src/modules/crypt/PGPEngine.cpp
@@ -862,7 +862,7 @@ PGPEngine::Sign(const String& user,
 
    String options("--detach-sign");
    if ( !user.empty() )
-      options += "--local-user " + user;
+      options += " --local-user " + user;
 
    options += ' ' + tmpfname.GetName();
    return ExecCommand(options, wxEmptyString, messageOut, log);

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

Summary of changes:
 src/modules/crypt/PGPEngine.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Mahogany sources repository.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot