diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-21 13:56:31 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-21 13:56:31 +0700 |
commit | c53008f0f5a295ade456e117b90adcc897a16f83 (patch) | |
tree | 354461b8ffaa71d4f8bddb238bb50307cdf3b094 /crypto/src/asn1/LimitedInputStream.cs | |
parent | Use Seek when available (diff) | |
download | BouncyCastle.NET-ed25519-c53008f0f5a295ade456e117b90adcc897a16f83.tar.xz |
ASN.1 perf. opts
Diffstat (limited to 'crypto/src/asn1/LimitedInputStream.cs')
-rw-r--r-- | crypto/src/asn1/LimitedInputStream.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/LimitedInputStream.cs b/crypto/src/asn1/LimitedInputStream.cs index 98a45876d..95bf0b63a 100644 --- a/crypto/src/asn1/LimitedInputStream.cs +++ b/crypto/src/asn1/LimitedInputStream.cs @@ -21,11 +21,11 @@ namespace Org.BouncyCastle.Asn1 get { return _limit; } } - protected virtual void SetParentEofDetect(bool on) + protected void SetParentEofDetect() { if (_in is IndefiniteLengthInputStream) { - ((IndefiniteLengthInputStream)_in).SetEofOn00(on); + ((IndefiniteLengthInputStream)_in).SetEofOn00(true); } } } |