diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-26 21:20:46 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-26 21:20:46 +0200 |
commit | 5da025fb7d42e4c82d7f3c3a7460e2ac1b8698d0 (patch) | |
tree | f1a17aac193206f6d95baba73068de9348cf6ccd /framework/src/domain/mime/mimetreeparser/multipartencrypted.cpp | |
parent | ae20f0a057f4740e3eedb1641d99c37601ad0b7f (diff) | |
download | kube-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.cpp | 6 |
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 | /* |