[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - xmlsecurity/source
Thorsten Behrens
Thorsten.Behrens at CIB.de
Mon Jul 17 08:23:55 UTC 2017
xmlsecurity/source/gpg/SecurityEnvironment.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 8778e956d0e85b50dbf2512634e292c5360ba96d
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date: Mon Jul 17 00:40:17 2017 +0200
gpg4libre: unconditionally use binary IO
Regardless of changing gpgme defaults, we don't want
ascii armor anywhere.
Change-Id: Ic1e80e134b8f24d05d6549ef19c5a82220718f1f
Reviewed-on: https://gerrit.libreoffice.org/40024
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/xmlsecurity/source/gpg/SecurityEnvironment.cxx b/xmlsecurity/source/gpg/SecurityEnvironment.cxx
index 707cc36fdb04..a90ef15a1640 100644
--- a/xmlsecurity/source/gpg/SecurityEnvironment.cxx
+++ b/xmlsecurity/source/gpg/SecurityEnvironment.cxx
@@ -32,6 +32,7 @@ SecurityEnvironmentGpg::SecurityEnvironmentGpg()
m_ctx.reset( GpgME::Context::createForProtocol(GpgME::OpenPGP) );
if (m_ctx == nullptr)
throw RuntimeException("The GpgME library failed to initialize for the OpenPGP protocol.");
+ m_ctx->setArmor(false);
}
SecurityEnvironmentGpg::~SecurityEnvironmentGpg()
More information about the Libreoffice-commits
mailing list