mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-26 12:51:54 +00:00
reduce buffer size
This commit is contained in:
parent
e1b5803902
commit
ffad1ecd6d
@ -242,7 +242,7 @@ namespace stream
|
|||||||
|
|
||||||
if (flags & PACKET_FLAG_SIGNATURE_INCLUDED)
|
if (flags & PACKET_FLAG_SIGNATURE_INCLUDED)
|
||||||
{
|
{
|
||||||
uint8_t signature[512];
|
uint8_t signature[256];
|
||||||
auto signatureLen = m_RemoteIdentity->GetSignatureLen ();
|
auto signatureLen = m_RemoteIdentity->GetSignatureLen ();
|
||||||
if(signatureLen <= sizeof(signature))
|
if(signatureLen <= sizeof(signature))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user