summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-26 21:20:46 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-26 21:20:46 +0200
commit5da025fb7d42e4c82d7f3c3a7460e2ac1b8698d0 (patch)
treef1a17aac193206f6d95baba73068de9348cf6ccd /framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp
parentae20f0a057f4740e3eedb1641d99c37601ad0b7f (diff)
downloadkube-5da025fb7d42e4c82d7f3c3a7460e2ac1b8698d0.tar.gz
kube-5da025fb7d42e4c82d7f3c3a7460e2ac1b8698d0.zip
Less gpgme in the interfaces
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp')
-rw-r--r--framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp b/framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp
index 30fe4bc0..2e36366c 100644
--- a/framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp
+++ b/framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp
@@ -49,18 +49,18 @@ MessagePart::Ptr MultiPartEncryptedBodyPartFormatter::process(Interface::BodyPar
49 return MessagePart::Ptr(); 49 return MessagePart::Ptr();
50 } 50 }
51 51
52 GpgME::Protocol useThisCryptProto = GpgME::UnknownProtocol; 52 CryptoProtocol useThisCryptProto = UnknownProtocol;
53 53
54 /* 54 /*
55 ATTENTION: This code is to be replaced by the new 'auto-detect' feature. -------------------------------------- 55 ATTENTION: This code is to be replaced by the new 'auto-detect' feature. --------------------------------------
56 */ 56 */
57 KMime::Content *data = findTypeInDirectChilds(node, "application/octet-stream"); 57 KMime::Content *data = findTypeInDirectChilds(node, "application/octet-stream");
58 if (data) { 58 if (data) {
59 useThisCryptProto = GpgME::OpenPGP; 59 useThisCryptProto = OpenPGP;
60 } else { 60 } else {
61 data = findTypeInDirectChilds(node, "application/pkcs7-mime"); 61 data = findTypeInDirectChilds(node, "application/pkcs7-mime");
62 if (data) { 62 if (data) {
63 useThisCryptProto = GpgME::CMS; 63 useThisCryptProto = CMS;
64 } 64 }
65 } 65 }
66 /* 66 /*