I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit a39f667c authored by zzz's avatar zzz
Browse files

set BAOS size

parent 5283fc92
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,7 @@ public class KeysAndCert extends DataStructureImpl { ...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment