summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/test/src/pqc/crypto/lms/HSSTests.cs2
-rw-r--r--crypto/test/src/pqc/crypto/lms/LMSTests.cs16
2 files changed, 4 insertions, 14 deletions
diff --git a/crypto/test/src/pqc/crypto/lms/HSSTests.cs b/crypto/test/src/pqc/crypto/lms/HSSTests.cs
index 6918da102..d97038d3b 100644
--- a/crypto/test/src/pqc/crypto/lms/HSSTests.cs
+++ b/crypto/test/src/pqc/crypto/lms/HSSTests.cs
@@ -470,7 +470,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Lms
                 byte[] hssPubEnc = null;
                 MemoryStream fixedESBuffer = new MemoryStream();
                 IList sigVectors = new ArrayList();
-                int d = 0, j = 0;
+                int d = 0;
 
                 string line;
                 while ((line = sr.ReadLine()) != null)
diff --git a/crypto/test/src/pqc/crypto/lms/LMSTests.cs b/crypto/test/src/pqc/crypto/lms/LMSTests.cs
index 4b5d6206f..dbc541674 100644
--- a/crypto/test/src/pqc/crypto/lms/LMSTests.cs
+++ b/crypto/test/src/pqc/crypto/lms/LMSTests.cs
@@ -158,20 +158,10 @@ namespace Org.BouncyCastle.Pqc.Crypto.Lms
                 ctx.Update((byte)1);
                 Assert.Fail("Digest reuse after signature taken.");
             }
-            catch (NullReferenceException npe)
+            catch (NullReferenceException)
             {
-                Assert.True(true);
+                // Expected
             }
-
         }
-            
-        public void Main(string[] args)
-        {
-            TestCoefFunc();
-            TestPrivateKeyRound();
-            TestLMS();
-            TestContextSingleUse();
-        }
-
     }
-}
\ No newline at end of file
+}