summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/crypto.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-17 21:18:10 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-17 21:18:10 +0200
commit5cb860c194ae08d560156c35309a0a14794a4bda (patch)
treeebee24ba60e7f6f262baae4ee4ba90e2aec2ed9f /framework/src/domain/mime/crypto.cpp
parent455809b0e5d6e80406867aa8f5a74aa10a39bf35 (diff)
downloadkube-5cb860c194ae08d560156c35309a0a14794a4bda.tar.gz
kube-5cb860c194ae08d560156c35309a0a14794a4bda.zip
Re-enable ASCII armoring
That was disabled accidentally during the port to gpgme.
Diffstat (limited to 'framework/src/domain/mime/crypto.cpp')
-rw-r--r--framework/src/domain/mime/crypto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/src/domain/mime/crypto.cpp b/framework/src/domain/mime/crypto.cpp
index 1b121931..863c4b38 100644
--- a/framework/src/domain/mime/crypto.cpp
+++ b/framework/src/domain/mime/crypto.cpp
@@ -97,6 +97,8 @@ static std::pair<gpgme_error_t, gpgme_ctx_t> createForProtocol(CryptoProtocol pr
97 Q_ASSERT(false); 97 Q_ASSERT(false);
98 return std::make_pair(1, nullptr); 98 return std::make_pair(1, nullptr);
99 } 99 }
100 //We want the output to always be ASCII armored
101 gpgme_set_armor(ctx, 1);
100 return std::make_pair(GPG_ERR_NO_ERROR, ctx); 102 return std::make_pair(GPG_ERR_NO_ERROR, ctx);
101} 103}
102 104