diff options
Diffstat (limited to 'crypto/src/asn1/LazyDERSet.cs')
-rw-r--r-- | crypto/src/asn1/LazyDERSet.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/asn1/LazyDERSet.cs b/crypto/src/asn1/LazyDERSet.cs index f8271f330..ae56f5e50 100644 --- a/crypto/src/asn1/LazyDERSet.cs +++ b/crypto/src/asn1/LazyDERSet.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.Set | Asn1Tags.Constructed, encoded); + asn1Out.WriteEncodingDL(withID, Asn1Tags.Constructed | Asn1Tags.Set, encoded); } } } |