summaryrefslogtreecommitdiff
path: root/authenc.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-26 16:03:14 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-26 16:03:14 -0400
commitb7de164d6251dc066123b59bc15d30c74e920756 (patch)
tree650e67242386d55616a2038c5cbc7042568ed377 /authenc.cpp
parent7b64ca489a7e1da36b02b4a35d149275914d8268 (diff)
downloadcryptopp-git-b7de164d6251dc066123b59bc15d30c74e920756.tar.gz
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
Diffstat (limited to 'authenc.cpp')
-rw-r--r--authenc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/authenc.cpp b/authenc.cpp
index 1e0392ef..cc518404 100644
--- a/authenc.cpp
+++ b/authenc.cpp
@@ -98,7 +98,7 @@ void AuthenticatedSymmetricCipherBase::Update(const byte *input, size_t length)
m_totalFooterLength += length;
break;
default:
- assert(false);
+ CRYPTOPP_ASSERT(false);
}
}
@@ -130,7 +130,7 @@ reswitch:
AuthenticateData(outString, length);
break;
default:
- assert(false);
+ CRYPTOPP_ASSERT(false);
}
}
@@ -170,7 +170,7 @@ void AuthenticatedSymmetricCipherBase::TruncatedFinal(byte *mac, size_t macSize)
break;
default:
- assert(false);
+ CRYPTOPP_ASSERT(false);
}
m_state = State_KeySet;