summary refs log tree commit diff
path: root/crypto/src/asn1/misc/CAST5CBCParameters.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/misc/CAST5CBCParameters.cs')
-rw-r--r--crypto/src/asn1/misc/CAST5CBCParameters.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/misc/CAST5CBCParameters.cs b/crypto/src/asn1/misc/CAST5CBCParameters.cs
index 51fd6607a..7bd9f1ec6 100644
--- a/crypto/src/asn1/misc/CAST5CBCParameters.cs
+++ b/crypto/src/asn1/misc/CAST5CBCParameters.cs
@@ -52,7 +52,7 @@ namespace Org.BouncyCastle.Asn1.Misc
 
 		public int KeyLength
 		{
-			get { return keyLength.Value.IntValue; }
+            get { return keyLength.IntValueExact; }
 		}
 
 		/**