diff options
Diffstat (limited to 'crypto/src/asn1/x509/BasicConstraints.cs')
-rw-r--r-- | crypto/src/asn1/x509/BasicConstraints.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/x509/BasicConstraints.cs b/crypto/src/asn1/x509/BasicConstraints.cs index deecae241..acc8766a7 100644 --- a/crypto/src/asn1/x509/BasicConstraints.cs +++ b/crypto/src/asn1/x509/BasicConstraints.cs @@ -37,9 +37,9 @@ namespace Org.BouncyCastle.Asn1.X509 { if (seq.Count > 0) { - if (seq[0] is DerBoolean) + if (seq[0] is DerBoolean derBoolean) { - this.cA = DerBoolean.GetInstance(seq[0]); + this.cA = derBoolean; } else { |