summary refs log tree commit diff
path: root/crypto/src/asn1/LazyDERSet.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/LazyDERSet.cs')
-rw-r--r--crypto/src/asn1/LazyDERSet.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/crypto/src/asn1/LazyDERSet.cs b/crypto/src/asn1/LazyDERSet.cs
index 25dbdd0a4..653054bf9 100644
--- a/crypto/src/asn1/LazyDERSet.cs
+++ b/crypto/src/asn1/LazyDERSet.cs
@@ -57,18 +57,17 @@ namespace Org.BouncyCastle.Asn1
 			}
 		}
 
-		internal override void Encode(
-			DerOutputStream derOut)
+		internal override void Encode(Asn1OutputStream asn1Out)
 		{
 			lock (this)
 			{
 				if (encoded == null)
 				{
-					base.Encode(derOut);
+					base.Encode(asn1Out);
 				}
 				else
 				{
-					derOut.WriteEncoded(Asn1Tags.Set | Asn1Tags.Constructed, encoded);
+					asn1Out.WriteEncoded(Asn1Tags.Set | Asn1Tags.Constructed, encoded);
 				}
 			}
 		}