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