diff options
Diffstat (limited to '')
-rw-r--r-- | crypto/src/asn1/ConstructedILEncoding.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/src/asn1/ConstructedILEncoding.cs b/crypto/src/asn1/ConstructedILEncoding.cs index 1934c6f48..a609e1e46 100644 --- a/crypto/src/asn1/ConstructedILEncoding.cs +++ b/crypto/src/asn1/ConstructedILEncoding.cs @@ -27,9 +27,7 @@ namespace Org.BouncyCastle.Asn1 int IAsn1Encoding.GetLength() { - return Asn1OutputStream.GetLengthOfIdentifier(m_tagNo) - + 3 - + Asn1OutputStream.GetLengthOfContents(m_contentsElements); + return Asn1OutputStream.GetLengthOfEncodingIL(m_tagNo, m_contentsElements); } } } |