summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2017-10-17 21:18:11 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2017-10-17 21:18:11 +0700
commitbb1ac12b59e0365e9d1b59b6c492fa435f432a19 (patch)
tree7cf6875b528a81255b3642e9a8ccfc5818d80e17 /crypto/test
parentAdd RSA test case for CVE-2017-15361 vulnerability (diff)
downloadBouncyCastle.NET-ed25519-bb1ac12b59e0365e9d1b59b6c492fa435f432a19.tar.xz
Fix test for .NET 1.1
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/crypto/test/RsaTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/crypto/test/RsaTest.cs b/crypto/test/src/crypto/test/RsaTest.cs
index 8f6e66e05..ace60b237 100644
--- a/crypto/test/src/crypto/test/RsaTest.cs
+++ b/crypto/test/src/crypto/test/RsaTest.cs
@@ -24,7 +24,7 @@ namespace Org.BouncyCastle.Crypto.Tests
          * Based on https://github.com/crocs-muni/roca/blob/master/java/BrokenKey.java
          * Credits: ported to Java by Martin Paljak
          */
-        internal static class BrokenKey_CVE_2017_15361
+        internal class BrokenKey_CVE_2017_15361
         {
             private static readonly int[] prims = new int[]{ 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61,
                 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167 };