diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-08-10 00:18:03 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-08-10 00:18:03 +0700 |
commit | 9c6880706476c6066b9aa2ce82c159d64c8766c6 (patch) | |
tree | 092fb747c1e8d483d4e611e08a1e648f9d864620 /crypto/src/asn1/x509/TBSCertList.cs | |
parent | Use utility method (diff) | |
download | BouncyCastle.NET-ed25519-9c6880706476c6066b9aa2ce82c159d64c8766c6.tar.xz |
Add and use IntValueExact properties
Diffstat (limited to 'crypto/src/asn1/x509/TBSCertList.cs')
-rw-r--r-- | crypto/src/asn1/x509/TBSCertList.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/x509/TBSCertList.cs b/crypto/src/asn1/x509/TBSCertList.cs index 2b3646052..a427ba2ba 100644 --- a/crypto/src/asn1/x509/TBSCertList.cs +++ b/crypto/src/asn1/x509/TBSCertList.cs @@ -207,7 +207,7 @@ namespace Org.BouncyCastle.Asn1.X509 public int Version { - get { return version.Value.IntValue + 1; } + get { return version.IntValueExact + 1; } } public DerInteger VersionNumber |