summary refs log tree commit diff
path: root/crypto/src/tsp/GenTimeAccuracy.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/tsp/GenTimeAccuracy.cs')
-rw-r--r--crypto/src/tsp/GenTimeAccuracy.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tsp/GenTimeAccuracy.cs b/crypto/src/tsp/GenTimeAccuracy.cs
index 8a2f29989..400bf6f9e 100644
--- a/crypto/src/tsp/GenTimeAccuracy.cs
+++ b/crypto/src/tsp/GenTimeAccuracy.cs
@@ -22,7 +22,7 @@ namespace Org.BouncyCastle.Tsp
 		private int GetTimeComponent(
 			DerInteger time)
 		{
-			return time == null ? 0 : time.Value.IntValue;
+            return time == null ? 0 : time.IntValueExact;
 		}
 
 		public override string ToString()