reduce buffer size

This commit is contained in:
Jeff Becker 2017-11-23 13:45:46 -05:00
parent e1b5803902
commit ffad1ecd6d
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -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))
{