summary refs log tree commit diff
path: root/crypto/src/asn1/ASN1StreamParser.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-11-09 23:37:08 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-11-09 23:37:08 +0700
commit3c034ea8ac68da52b5ff128300b6780549d05bd1 (patch)
treea3f4572beee014d784560c0ba1282a4000e1a98a /crypto/src/asn1/ASN1StreamParser.cs
parentFix DER encoding of lazy objects (diff)
downloadBouncyCastle.NET-ed25519-3c034ea8ac68da52b5ff128300b6780549d05bd1.tar.xz
Add DLSequence, DLSet for internal use
- improve sorting of sets
Diffstat (limited to 'crypto/src/asn1/ASN1StreamParser.cs')
-rw-r--r--crypto/src/asn1/ASN1StreamParser.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/ASN1StreamParser.cs b/crypto/src/asn1/ASN1StreamParser.cs
index a92a3adae..0a575c8c5 100644
--- a/crypto/src/asn1/ASN1StreamParser.cs
+++ b/crypto/src/asn1/ASN1StreamParser.cs
@@ -113,7 +113,7 @@ namespace Org.BouncyCastle.Asn1
 
 			return v.Count == 1
 				?   new DerTaggedObject(true, tag, v[0])
-				:   new DerTaggedObject(false, tag, DerSequence.FromVector(v));
+				:   new DerTaggedObject(false, tag, DLSequence.FromVector(v));
 		}
 
 		public virtual IAsn1Convertible ReadObject()
@@ -122,7 +122,7 @@ namespace Org.BouncyCastle.Asn1
 			if (tag == -1)
 				return null;
 
-			// turn of looking for "00" while we resolve the tag
+			// turn off looking for "00" while we resolve the tag
 			Set00Check(false);
 
 			//