diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-06-15 17:55:11 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2015-06-17 18:53:00 +0200 |
commit | 84165c092e0ad10b543d763500a30fd12f1b95ee (patch) | |
tree | f39086484cedf767c522181c53e6b78aeec99f98 /OpenKeychain/src/main | |
parent | 2d03965777e99782a0ee7a33e6b90805c79bb07e (diff) | |
download | open-keychain-84165c092e0ad10b543d763500a30fd12f1b95ee.tar.gz open-keychain-84165c092e0ad10b543d763500a30fd12f1b95ee.tar.bz2 open-keychain-84165c092e0ad10b543d763500a30fd12f1b95ee.zip |
fix symmetric text decryption
Diffstat (limited to 'OpenKeychain/src/main')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptTextFragment.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptTextFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptTextFragment.java index 1dcda5b8d..051da5d6b 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptTextFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptTextFragment.java @@ -153,7 +153,9 @@ public class DecryptTextFragment extends DecryptFragment { @Override protected PgpDecryptVerifyInputParcel createOperationInput() { - return new PgpDecryptVerifyInputParcel(mCiphertext.getBytes()); + PgpDecryptVerifyInputParcel input = new PgpDecryptVerifyInputParcel(mCiphertext.getBytes()); + input.setAllowSymmetricDecryption(true); + return input; } @Override |