forked from I2P_Developers/i2p.i2p
set BAOS size
This commit is contained in:
@ -166,7 +166,7 @@ public class KeysAndCert extends DataStructureImpl {
|
|||||||
return __calculatedHash;
|
return __calculatedHash;
|
||||||
byte identBytes[];
|
byte identBytes[];
|
||||||
try {
|
try {
|
||||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
ByteArrayOutputStream baos = new ByteArrayOutputStream(400);
|
||||||
writeBytes(baos);
|
writeBytes(baos);
|
||||||
identBytes = baos.toByteArray();
|
identBytes = baos.toByteArray();
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
|
Reference in New Issue
Block a user