actually use the compression settings ;), and give them better default values
This commit is contained in:
@@ -1329,7 +1329,7 @@ public class Apg {
|
||||
if (compression == Id.choice.compression.none) {
|
||||
bcpgOut = new BCPGOutputStream(encryptOut);
|
||||
} else {
|
||||
compressGen = new PGPCompressedDataGenerator(CompressionAlgorithmTags.ZLIB);
|
||||
compressGen = new PGPCompressedDataGenerator(compression);
|
||||
bcpgOut = new BCPGOutputStream(compressGen.open(encryptOut));
|
||||
}
|
||||
if (signatureKeyId != 0) {
|
||||
|
||||
Reference in New Issue
Block a user