diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-22 14:17:37 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-22 14:17:37 +0700 |
commit | 1d955a988a2f288b39412920f61b8e03a5a2212c (patch) | |
tree | 94ace18a88113d5f82dc105b10176fba140cc828 /crypto | |
parent | Cleanup (diff) | |
download | BouncyCastle.NET-ed25519-1d955a988a2f288b39412920f61b8e03a5a2212c.tar.xz |
Perf. opts.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/asn1/Asn1InputStream.cs | 4 |
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) { |