set BAOS size

This commit is contained in:
zzz
2014-03-12 12:35:29 +00:00
parent 5283fc923e
commit a39f667c2f

View File

@ -166,7 +166,7 @@ public class KeysAndCert extends DataStructureImpl {
return __calculatedHash;
byte identBytes[];
try {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ByteArrayOutputStream baos = new ByteArrayOutputStream(400);
writeBytes(baos);
identBytes = baos.toByteArray();
} catch (Throwable t) {