summary refs log tree commit diff
path: root/crypto/src/asn1/BerNull.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/BerNull.cs')
-rw-r--r--crypto/src/asn1/BerNull.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/src/asn1/BerNull.cs b/crypto/src/asn1/BerNull.cs
index 8df088d0c..346fea02e 100644
--- a/crypto/src/asn1/BerNull.cs
+++ b/crypto/src/asn1/BerNull.cs
@@ -15,15 +15,15 @@ namespace Org.BouncyCastle.Asn1
 		{
 		}
 
-		internal override void Encode(DerOutputStream derOut)
+		internal override void Encode(Asn1OutputStream asn1Out)
 		{
-            if (derOut.IsBer)
+            if (asn1Out.IsBer)
 			{
-				derOut.WriteByte(Asn1Tags.Null);
+				asn1Out.WriteByte(Asn1Tags.Null);
 			}
 			else
 			{
-				base.Encode(derOut);
+				base.Encode(asn1Out);
 			}
 		}
 	}