diff options
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp')
-rw-r--r-- | framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp b/framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp index 5316a6a7..30fe4bc0 100644 --- a/framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp +++ b/framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp | |||
@@ -57,8 +57,7 @@ MessagePart::Ptr MultiPartEncryptedBodyPartFormatter::process(Interface::BodyPar | |||
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 = GpgME::OpenPGP; |
60 | } | 60 | } else { |
61 | if (!data) { | ||
62 | data = findTypeInDirectChilds(node, "application/pkcs7-mime"); | 61 | data = findTypeInDirectChilds(node, "application/pkcs7-mime"); |
63 | if (data) { | 62 | if (data) { |
64 | useThisCryptProto = GpgME::CMS; | 63 | useThisCryptProto = GpgME::CMS; |