summary refs log tree commit diff
path: root/crypto/src/asn1/ConstructedLazyDLEncoding.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/ConstructedLazyDLEncoding.cs')
-rw-r--r--crypto/src/asn1/ConstructedLazyDLEncoding.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/src/asn1/ConstructedLazyDLEncoding.cs b/crypto/src/asn1/ConstructedLazyDLEncoding.cs

index 3847b465b..ee9d21c66 100644 --- a/crypto/src/asn1/ConstructedLazyDLEncoding.cs +++ b/crypto/src/asn1/ConstructedLazyDLEncoding.cs
@@ -25,9 +25,7 @@ namespace Org.BouncyCastle.Asn1 int IAsn1Encoding.GetLength() { - return Asn1OutputStream.GetLengthOfIdentifier(m_tagNo) - + Asn1OutputStream.GetLengthOfDL(m_contentsOctets.Length) - + m_contentsOctets.Length; + return Asn1OutputStream.GetLengthOfEncodingDL(m_tagNo, m_contentsOctets.Length); } } }