diff options
Diffstat (limited to 'crypto/src/tsp/GenTimeAccuracy.cs')
-rw-r--r-- | crypto/src/tsp/GenTimeAccuracy.cs | 2 |
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() |