summary refs log tree commit diff
path: root/crypto/src/asn1
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-11-22 14:17:37 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-11-22 14:17:37 +0700
commit1d955a988a2f288b39412920f61b8e03a5a2212c (patch)
tree94ace18a88113d5f82dc105b10176fba140cc828 /crypto/src/asn1
parentCleanup (diff)
downloadBouncyCastle.NET-ed25519-1d955a988a2f288b39412920f61b8e03a5a2212c.tar.xz
Perf. opts.
Diffstat (limited to 'crypto/src/asn1')
-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 bfa4615bd..04de3112e 100644
--- a/crypto/src/asn1/Asn1InputStream.cs
+++ b/crypto/src/asn1/Asn1InputStream.cs
@@ -163,8 +163,8 @@ namespace Org.BouncyCastle.Asn1
                 return null;
             }
 
-            int tagNo = ReadTagNumber(this, tagHdr);
-            int length = ReadLength(this, limit, false);
+            int tagNo = ReadTagNumber(s, tagHdr);
+            int length = ReadLength(s, limit, false);
 
             if (length >= 0)
             {