summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1InputStream.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-10-15 17:47:24 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-10-15 17:47:24 +0700
commit3b5db17f9742229ccde2c96704610c2679c500ea (patch)
tree5cd2401791c7fb89ebf8183649696592e527079a /crypto/src/asn1/Asn1InputStream.cs
parentUse primitive encoding for short octet strings (diff)
downloadBouncyCastle.NET-ed25519-3b5db17f9742229ccde2c96704610c2679c500ea.tar.xz
Preserve laziness in substreams
Diffstat (limited to 'crypto/src/asn1/Asn1InputStream.cs')
-rw-r--r--crypto/src/asn1/Asn1InputStream.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/Asn1InputStream.cs b/crypto/src/asn1/Asn1InputStream.cs
index 76bc3076d..b56d890fa 100644
--- a/crypto/src/asn1/Asn1InputStream.cs
+++ b/crypto/src/asn1/Asn1InputStream.cs
@@ -18,7 +18,7 @@ namespace Org.BouncyCastle.Asn1
     {
         private readonly int limit;
 
-        private readonly byte[][] tmpBuffers;
+        internal readonly byte[][] tmpBuffers;
 
         internal static int FindLimit(Stream input)
         {
@@ -64,7 +64,7 @@ namespace Org.BouncyCastle.Asn1
         {
         }
 
-        private Asn1InputStream(Stream input, int limit, byte[][] tmpBuffers)
+        internal Asn1InputStream(Stream input, int limit, byte[][] tmpBuffers)
             : base(input)
         {
             this.limit = limit;