From c53008f0f5a295ade456e117b90adcc897a16f83 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 21 Nov 2021 13:56:31 +0700 Subject: ASN.1 perf. opts --- crypto/src/asn1/LimitedInputStream.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/src/asn1/LimitedInputStream.cs') 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); } } } -- cgit 1.4.1