summary refs log tree commit diff
path: root/crypto/src/ocsp/RespData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/ocsp/RespData.cs')
-rw-r--r--crypto/src/ocsp/RespData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/ocsp/RespData.cs b/crypto/src/ocsp/RespData.cs
index 105726ca7..7ec0e4b68 100644
--- a/crypto/src/ocsp/RespData.cs
+++ b/crypto/src/ocsp/RespData.cs
@@ -21,7 +21,7 @@ namespace Org.BouncyCastle.Ocsp
 
 		public int Version
 		{
-			get { return data.Version.Value.IntValue + 1; }
+            get { return data.Version.IntValueExact + 1; }
 		}
 
 		public RespID GetResponderId()