summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/crypto.cpp
diff options
context:
space:
mode:
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