summaryrefslogtreecommitdiff
path: root/ccm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ccm.cpp')
-rw-r--r--ccm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccm.cpp b/ccm.cpp
index fe125f5c..97d05614 100644
--- a/ccm.cpp
+++ b/ccm.cpp
@@ -30,7 +30,7 @@ void CCM_Base::Resync(const byte *iv, size_t len)
BlockCipher &cipher = AccessBlockCipher();
m_L = REQUIRED_BLOCKSIZE-1-(int)len;
- assert(m_L >= 2);
+ CRYPTOPP_ASSERT(m_L >= 2);
if (m_L > 8)
m_L = 8;
@@ -66,7 +66,7 @@ void CCM_Base::UncheckedSpecifyDataLengths(lword headerLength, lword messageLeng
if (headerLength>0)
{
- assert(m_bufferedDataLength == 0);
+ CRYPTOPP_ASSERT(m_bufferedDataLength == 0);
if (headerLength < ((1<<16) - (1<<8)))
{