From bac9137a67c7c7ac2095c787724b88e9cfacf5c4 Mon Sep 17 00:00:00 2001 From: mw Date: Tue, 7 Sep 2021 09:23:50 +1000 Subject: Removed unused variable. --- crypto/src/pkcs/Pkcs10CertificationRequest.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/src/pkcs/Pkcs10CertificationRequest.cs b/crypto/src/pkcs/Pkcs10CertificationRequest.cs index 10ce89bf0..c4624bfdc 100644 --- a/crypto/src/pkcs/Pkcs10CertificationRequest.cs +++ b/crypto/src/pkcs/Pkcs10CertificationRequest.cs @@ -526,8 +526,6 @@ namespace Org.BouncyCastle.Pkcs { Asn1Sequence itemSeq = Asn1Sequence.GetInstance(seqItem); - bool critical = itemSeq.Count == 3 && DerBoolean.GetInstance(itemSeq[1]).IsTrue; - if (itemSeq.Count == 2) { generator.AddExtension(DerObjectIdentifier.GetInstance(itemSeq[0]), false, Asn1OctetString.GetInstance(itemSeq[1]).GetOctets()); -- cgit 1.4.1