summaryrefslogtreecommitdiff
path: root/asn.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-06-09 02:00:53 -0400
committerJeffrey Walton <noloader@gmail.com>2019-06-09 02:00:53 -0400
commit55fe6a21915022b0015abe27589c4a6fb0d4fca8 (patch)
treed959b273d83c73d718da2baa9444b828c0512540 /asn.cpp
parent8fab1c3677198f941ae83fcf322edc420603d325 (diff)
downloadcryptopp-git-55fe6a21915022b0015abe27589c4a6fb0d4fca8.tar.gz
Cleanup BERGeneralDecoder constructors
Diffstat (limited to 'asn.cpp')
-rw-r--r--asn.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/asn.cpp b/asn.cpp
index ec5a097d..b72c45cf 100644
--- a/asn.cpp
+++ b/asn.cpp
@@ -514,22 +514,22 @@ lword BERGeneralDecoder::ReduceLength(lword delta)
}
DERGeneralEncoder::DERGeneralEncoder(BufferedTransformation &outQueue)
- : ByteQueue(), m_outQueue(outQueue), m_asnTag(DefaultTag), m_finished(false)
+ : m_outQueue(outQueue), m_length(0), m_asnTag(DefaultTag), m_finished(false)
{
}
DERGeneralEncoder::DERGeneralEncoder(BufferedTransformation &outQueue, byte asnTag)
- : ByteQueue(), m_outQueue(outQueue), m_asnTag(asnTag), m_finished(false)
+ : m_outQueue(outQueue), m_length(0), m_asnTag(asnTag), m_finished(false)
{
}
DERGeneralEncoder::DERGeneralEncoder(DERGeneralEncoder &outQueue)
- : ByteQueue(), m_outQueue(outQueue), m_asnTag(DefaultTag), m_finished(false)
+ : m_outQueue(outQueue), m_length(0), m_asnTag(DefaultTag), m_finished(false)
{
}
DERGeneralEncoder::DERGeneralEncoder(DERGeneralEncoder &outQueue, byte asnTag)
- : ByteQueue(), m_outQueue(outQueue), m_asnTag(asnTag), m_finished(false)
+ : m_outQueue(outQueue), m_length(0), m_asnTag(asnTag), m_finished(false)
{
}