diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-24 15:16:51 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-25 10:24:22 +0200 |
commit | a9c6bf7b55358a658f2ab8886ce5b5509ef518dc (patch) | |
tree | 20994cb5d2d5bcb17a7dc0a5e79d45d0109a17ce /framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp | |
parent | 41f1c5c6b1403306535f308d2656a3ba94fb9a5c (diff) | |
download | kube-a9c6bf7b55358a658f2ab8886ce5b5509ef518dc.tar.gz kube-a9c6bf7b55358a658f2ab8886ce5b5509ef518dc.zip |
Cleanup
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; |