forked from I2P_Developers/i2p.i2p
SAM: Make enough space for dests with certs without realloc
This commit is contained in:
@@ -347,7 +347,7 @@ class SAMv1Handler extends SAMHandler implements SAMRawReceiver, SAMDatagramRece
|
||||
}
|
||||
|
||||
ByteArrayOutputStream priv = new ByteArrayOutputStream(663);
|
||||
ByteArrayOutputStream pub = new ByteArrayOutputStream(387);
|
||||
ByteArrayOutputStream pub = new ByteArrayOutputStream(391);
|
||||
|
||||
SAMUtils.genRandomKey(priv, pub, sigType);
|
||||
return writeString("DEST REPLY"
|
||||
|
||||
Reference in New Issue
Block a user