close streams more consistently (outside of encrypt/decrypt), force a new output filename guess if the ASCII armour checkbox state changes
This commit is contained in:
@@ -1314,7 +1314,9 @@ public class Apg {
|
||||
}
|
||||
compressGen.close();
|
||||
encryptOut.close();
|
||||
out.close();
|
||||
if (armored) {
|
||||
armorOut.close();
|
||||
}
|
||||
|
||||
progress.setProgress("done.", 100, 100);
|
||||
}
|
||||
@@ -1625,8 +1627,6 @@ public class Apg {
|
||||
}
|
||||
}
|
||||
|
||||
out.close();
|
||||
|
||||
if (signature != null) {
|
||||
progress.setProgress("verifying signature...", 80, 100);
|
||||
PGPSignatureList signatureList = (PGPSignatureList) plainFact.nextObject();
|
||||
|
||||
Reference in New Issue
Block a user