summary refs log tree commit diff
path: root/crypto/src/util/Arrays.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/util/Arrays.cs')
-rw-r--r--crypto/src/util/Arrays.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/crypto/src/util/Arrays.cs b/crypto/src/util/Arrays.cs
index 59c91bdd1..8f8cebedc 100644
--- a/crypto/src/util/Arrays.cs
+++ b/crypto/src/util/Arrays.cs
@@ -216,7 +216,7 @@ namespace Org.BouncyCastle.Utilities
         public static byte[] Clone(
             byte[] data)
         {
-            return data == null ? null : (byte[]) data.Clone();
+            return data == null ? null : (byte[])data.Clone();
         }
 
         public static byte[] Clone(
@@ -238,7 +238,12 @@ namespace Org.BouncyCastle.Utilities
         public static int[] Clone(
             int[] data)
         {
-            return data == null ? null : (int[]) data.Clone();
+            return data == null ? null : (int[])data.Clone();
+        }
+
+        public static long[] Clone(long[] data)
+        {
+            return data == null ? null : (long[])data.Clone();
         }
 
         [CLSCompliantAttribute(false)]