summary refs log tree commit diff
path: root/crypto/src/ocsp/RevokedStatus.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2019-08-10 00:18:03 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2019-08-10 00:18:03 +0700
commit9c6880706476c6066b9aa2ce82c159d64c8766c6 (patch)
tree092fb747c1e8d483d4e611e08a1e648f9d864620 /crypto/src/ocsp/RevokedStatus.cs
parentUse utility method (diff)
downloadBouncyCastle.NET-ed25519-9c6880706476c6066b9aa2ce82c159d64c8766c6.tar.xz
Add and use IntValueExact properties
Diffstat (limited to 'crypto/src/ocsp/RevokedStatus.cs')
-rw-r--r--crypto/src/ocsp/RevokedStatus.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/ocsp/RevokedStatus.cs b/crypto/src/ocsp/RevokedStatus.cs
index 6e5ad1b26..edbeb57da 100644
--- a/crypto/src/ocsp/RevokedStatus.cs
+++ b/crypto/src/ocsp/RevokedStatus.cs
@@ -51,7 +51,7 @@ namespace Org.BouncyCastle.Ocsp
 					throw new InvalidOperationException("attempt to get a reason where none is available");
 				}
 
-				return info.RevocationReason.Value.IntValue;
+                return info.RevocationReason.IntValueExact;
 			}
 		}
 	}