summary refs log tree commit diff
path: root/crypto/src/openpgp/SXprUtilities.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-06-22 22:08:13 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-22 22:08:13 +0700
commit5af9e09a87cc120e2f2da4fadc6b04685f96dda0 (patch)
tree9647961b98f60c9706ab8491e73070759d4a3545 /crypto/src/openpgp/SXprUtilities.cs
parentChange namespace for bzip2 code (diff)
downloadBouncyCastle.NET-ed25519-5af9e09a87cc120e2f2da4fadc6b04685f96dda0.tar.xz
Code cleanup
Diffstat (limited to 'crypto/src/openpgp/SXprUtilities.cs')
-rw-r--r--crypto/src/openpgp/SXprUtilities.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/openpgp/SXprUtilities.cs b/crypto/src/openpgp/SXprUtilities.cs
index 68ff373a8..d7969813f 100644
--- a/crypto/src/openpgp/SXprUtilities.cs
+++ b/crypto/src/openpgp/SXprUtilities.cs
@@ -61,7 +61,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp
 
             string alg = ReadString(input, input.ReadByte());
             byte[] iv = ReadBytes(input, input.ReadByte());
-            long iterationCount = Int64.Parse(ReadString(input, input.ReadByte()));
+            long iterationCount = long.Parse(ReadString(input, input.ReadByte()));
 
             SkipCloseParenthesis(input);