aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-03-21 15:43:36 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2015-03-21 15:43:36 +0100
commit10f9dcd7a1e59a3302639e43df6b57a360f9563b (patch)
tree2a2c9435ddf20212d4ac158bf6564fd9cbb91be9 /OpenKeychain/src
parentacd6c2ecec0ecc447428b87026d7f69b71f7f574 (diff)
downloadopen-keychain-10f9dcd7a1e59a3302639e43df6b57a360f9563b.tar.gz
open-keychain-10f9dcd7a1e59a3302639e43df6b57a360f9563b.tar.bz2
open-keychain-10f9dcd7a1e59a3302639e43df6b57a360f9563b.zip
Add TODO to remote API
Diffstat (limited to 'OpenKeychain/src')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java
index 660556509..bd2866985 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java
@@ -573,6 +573,8 @@ public class OpenPgpService extends RemoteService {
Intent result = new Intent();
OpenPgpSignatureResult signatureResult = pgpResult.getSignatureResult();
+ // TODO: currently RESULT_TYPE_UNENCRYPTED_UNSIGNED is never returned
+ // instead an error is returned when no pgp data has been found
int resultType = OpenPgpApi.RESULT_TYPE_UNENCRYPTED_UNSIGNED;
if (signatureResult != null) {
resultType |= OpenPgpApi.RESULT_TYPE_SIGNED;