Fix MaxHeaderLength and MaxMessageLength (GH #724)

This commit is contained in:
Jeffrey Walton 2019-01-30 02:51:14 -05:00
parent ebb9593a4b
commit 33eac51e92
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -62,9 +62,9 @@ public:
unsigned int DigestSize() const
{return 16;}
lword MaxHeaderLength() const
{return LWORD_MAX;}
{return W64LIT(18446744073709551615);} // 2^64-1 bytes
lword MaxMessageLength() const
{return LWORD_MAX;}
{return W64LIT(274877906880);} // 2^38-1 blocks
lword MaxFooterLength() const
{return 0;}