summary refs log tree commit diff
path: root/crypto/src/asn1/LazyDERSequence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/LazyDERSequence.cs')
-rw-r--r--crypto/src/asn1/LazyDERSequence.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/asn1/LazyDERSequence.cs b/crypto/src/asn1/LazyDERSequence.cs
index bd14b6578..83997aa98 100644
--- a/crypto/src/asn1/LazyDERSequence.cs
+++ b/crypto/src/asn1/LazyDERSequence.cs
@@ -59,17 +59,17 @@ namespace Org.BouncyCastle.Asn1
             }
         }
 
-        internal override void Encode(Asn1OutputStream asn1Out)
+        internal override void Encode(Asn1OutputStream asn1Out, bool withID)
         {
             lock (this)
             {
                 if (encoded == null)
                 {
-                    base.Encode(asn1Out);
+                    base.Encode(asn1Out, withID);
                 }
                 else
                 {
-                    asn1Out.WriteEncoded(Asn1Tags.Sequence | Asn1Tags.Constructed, encoded);
+                    asn1Out.WriteEncodingDL(withID, Asn1Tags.Constructed | Asn1Tags.Sequence, encoded);
                 }
             }
         }