diff options
author | Alex Zhukov <baron.pampa@gmail.com> | 2011-09-27 22:01:04 +0400 |
---|---|---|
committer | Alex Zhukov <baron.pampa@gmail.com> | 2011-09-27 22:01:04 +0400 |
commit | 70b75e73125ceadc683d5b1a67b49c7227879709 (patch) | |
tree | e30a9d7075333ca9fa0d873a2695c382c1290b60 /src | |
parent | 3ec27e07aead6f548d62bde55220d20337f1c570 (diff) | |
download | open-keychain-70b75e73125ceadc683d5b1a67b49c7227879709.tar.gz open-keychain-70b75e73125ceadc683d5b1a67b49c7227879709.tar.bz2 open-keychain-70b75e73125ceadc683d5b1a67b49c7227879709.zip |
skip PGPSignatureList if it comes before PGPLiteralData
Diffstat (limited to 'src')
-rw-r--r-- | src/org/thialfihar/android/apg/Apg.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/thialfihar/android/apg/Apg.java b/src/org/thialfihar/android/apg/Apg.java index 860893075..f9350eadf 100644 --- a/src/org/thialfihar/android/apg/Apg.java +++ b/src/org/thialfihar/android/apg/Apg.java @@ -1799,6 +1799,10 @@ public class Apg { currentProgress += 10; } + if (dataChunk instanceof PGPSignatureList) { + dataChunk = plainFact.nextObject(); + } + if (dataChunk instanceof PGPLiteralData) { progress.setProgress(R.string.progress_decrypting, currentProgress, 100); PGPLiteralData literalData = (PGPLiteralData) dataChunk; |