diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-26 16:03:14 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-26 16:03:14 -0400 |
commit | b7de164d6251dc066123b59bc15d30c74e920756 (patch) | |
tree | 650e67242386d55616a2038c5cbc7042568ed377 /eax.cpp | |
parent | 7b64ca489a7e1da36b02b4a35d149275914d8268 (diff) | |
download | cryptopp-git-b7de164d6251dc066123b59bc15d30c74e920756.tar.gz |
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
Diffstat (limited to 'eax.cpp')
-rw-r--r-- | eax.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,7 +35,7 @@ size_t EAX_Base::AuthenticateBlocks(const byte *data, size_t len) void EAX_Base::AuthenticateLastHeaderBlock()
{
- assert(m_bufferedDataLength == 0);
+ CRYPTOPP_ASSERT(m_bufferedDataLength == 0);
MessageAuthenticationCode &mac = AccessMAC();
unsigned int blockSize = mac.TagSize();
@@ -49,7 +49,7 @@ void EAX_Base::AuthenticateLastHeaderBlock() void EAX_Base::AuthenticateLastFooterBlock(byte *tag, size_t macSize)
{
- assert(m_bufferedDataLength == 0);
+ CRYPTOPP_ASSERT(m_bufferedDataLength == 0);
MessageAuthenticationCode &mac = AccessMAC();
unsigned int blockSize = mac.TagSize();
|