Skip to content

Commit

Permalink
reduce buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
majestrate committed Nov 23, 2017
1 parent e1b5803 commit ffad1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libi2pd/Streaming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ namespace stream

if (flags & PACKET_FLAG_SIGNATURE_INCLUDED)
{
uint8_t signature[512];
uint8_t signature[256];
auto signatureLen = m_RemoteIdentity->GetSignatureLen ();
if(signatureLen <= sizeof(signature))
{
Expand Down

0 comments on commit ffad1ec

Please sign in to comment.