mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-05-24 19:05:28 +00:00
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