mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Fix assert in FixedSizeAllocatorWithCleanup
This commit is contained in:
parent
45ab4a3cff
commit
5537d998a1
@ -521,7 +521,7 @@ private:
|
||||
// Verify the 16-byte alignment
|
||||
CRYPTOPP_ASSERT(IsAlignedOn(p_array, 16));
|
||||
// Verify allocated array with pad is large enough.
|
||||
CRYPTOPP_ASSERT(p_array+S <= m_array+(S+PAD));
|
||||
CRYPTOPP_ASSERT(p_array+S*sizeof(T) <= m_array+(S+PAD));
|
||||
return p_array;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user