summary refs log tree commit diff
path: root/crypto/src/asn1/LimitedInputStream.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/LimitedInputStream.cs')
-rw-r--r--crypto/src/asn1/LimitedInputStream.cs4
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);
             }
         }
     }