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 /asn.h | |
parent | 7b64ca489a7e1da36b02b4a35d149275914d8268 (diff) | |
download | cryptopp-git-b7de164d6251dc066123b59bc15d30c74e920756.tar.gz |
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
Diffstat (limited to 'asn.h')
-rw-r--r-- | asn.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -134,7 +134,7 @@ public: ~BERGeneralDecoder(); bool IsDefiniteLength() const {return m_definiteLength;} - lword RemainingLength() const {assert(m_definiteLength); return m_length;} + lword RemainingLength() const {CRYPTOPP_ASSERT(m_definiteLength); return m_length;} bool EndReached() const; byte PeekByte() const; void CheckByte(byte b); @@ -152,7 +152,7 @@ protected: private: void Init(byte asnTag); - void StoreInitialize(const NameValuePairs ¶meters) {assert(false);} + void StoreInitialize(const NameValuePairs ¶meters) {CRYPTOPP_ASSERT(false);} lword ReduceLength(lword delta); }; |