From 2e1dc7df1b47554ed229b65b9574973b43541a10 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 17 Jan 2023 20:32:13 +0700 Subject: Refactoring in Asn1 --- crypto/src/asn1/ASN1StreamParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/asn1/ASN1StreamParser.cs') diff --git a/crypto/src/asn1/ASN1StreamParser.cs b/crypto/src/asn1/ASN1StreamParser.cs index 490b20ccf..85b890a8c 100644 --- a/crypto/src/asn1/ASN1StreamParser.cs +++ b/crypto/src/asn1/ASN1StreamParser.cs @@ -205,7 +205,7 @@ namespace Org.BouncyCastle.Asn1 internal Asn1TaggedObjectParser ParseTaggedObject() { int tagHdr = _in.ReadByte(); - if (tagHdr< 0) + if (tagHdr < 0) return null; int tagClass = tagHdr & Asn1Tags.Private; -- cgit 1.4.1