summaryrefslogtreecommitdiff
path: root/asn.cpp
diff options
context:
space:
mode:
authorThomas Guyard <t.guyard@gigatribe.com>2016-03-03 15:40:16 +0100
committerThomas Guyard <t.guyard@gigatribe.com>2016-03-03 15:40:16 +0100
commitbb3276389e445117d1592d31a777070381aefa5f (patch)
treebc36086da2d6a1ef131c7e073dd416c4f248076d /asn.cpp
parent1743b976f7b5e6c67cc9288afa27a3b08a84dd38 (diff)
downloadcryptopp-git-bb3276389e445117d1592d31a777070381aefa5f.tar.gz
remove unwanted assert
Diffstat (limited to 'asn.cpp')
-rw-r--r--asn.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn.cpp b/asn.cpp
index fa1695af..c4d617d6 100644
--- a/asn.cpp
+++ b/asn.cpp
@@ -405,14 +405,14 @@ void BERGeneralDecoder::Init(byte asnTag)
BERGeneralDecoder::~BERGeneralDecoder()
{
- try // avoid throwing in constructor
+ try // avoid throwing in destructor
{
if (!m_finished)
MessageEnd();
}
catch (const Exception&)
{
- assert(0);
+ // assert(0);
}
}