skip PGPSignatureList if it comes before PGPLiteralData

This commit is contained in:
Alex Zhukov 2011-09-27 22:01:04 +04:00
parent 3ec27e07ae
commit 70b75e7312

View File

@ -1799,6 +1799,10 @@ public class Apg {
currentProgress += 10; currentProgress += 10;
} }
if (dataChunk instanceof PGPSignatureList) {
dataChunk = plainFact.nextObject();
}
if (dataChunk instanceof PGPLiteralData) { if (dataChunk instanceof PGPLiteralData) {
progress.setProgress(R.string.progress_decrypting, currentProgress, 100); progress.setProgress(R.string.progress_decrypting, currentProgress, 100);
PGPLiteralData literalData = (PGPLiteralData) dataChunk; PGPLiteralData literalData = (PGPLiteralData) dataChunk;