summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authormw <megan@cryptoworkshop.com>2021-09-07 09:23:50 +1000
committermw <megan@cryptoworkshop.com>2021-09-07 09:23:50 +1000
commitbac9137a67c7c7ac2095c787724b88e9cfacf5c4 (patch)
tree3c6312fcc2833b59ebd53241ab0464645a7197da /crypto/src
parentMerge branch 'master' of gitlab.cryptoworkshop.com:root/bc-csharp (diff)
downloadBouncyCastle.NET-ed25519-bac9137a67c7c7ac2095c787724b88e9cfacf5c4.tar.xz
Removed unused variable.
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/pkcs/Pkcs10CertificationRequest.cs2
1 files changed, 0 insertions, 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());