diff options
| author | J08nY | 2021-08-24 15:04:56 +0200 |
|---|---|---|
| committer | J08nY | 2021-08-24 15:04:56 +0200 |
| commit | 0f1f4c460df24d7fe6a3d5c02fdb9fc3c8000015 (patch) | |
| tree | 5c6301d54b5008186a0094352b88d92476a2bd62 /src | |
| parent | f8ad4aabbb8b7b0671def7c36896615510f48905 (diff) | |
| download | ECTester-0f1f4c460df24d7fe6a3d5c02fdb9fc3c8000015.tar.gz ECTester-0f1f4c460df24d7fe6a3d5c02fdb9fc3c8000015.tar.zst ECTester-0f1f4c460df24d7fe6a3d5c02fdb9fc3c8000015.zip | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/cz/crcs/ectester/standalone/test/suites/StandaloneMiscSuite.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cz/crcs/ectester/standalone/test/suites/StandaloneMiscSuite.java b/src/cz/crcs/ectester/standalone/test/suites/StandaloneMiscSuite.java index f5491ee..f371fc0 100644 --- a/src/cz/crcs/ectester/standalone/test/suites/StandaloneMiscSuite.java +++ b/src/cz/crcs/ectester/standalone/test/suites/StandaloneMiscSuite.java @@ -40,16 +40,17 @@ public class StandaloneMiscSuite extends StandaloneTestSuite { "\t - gt/kpg-type", "\t - kt/ka-type (select multiple types by separating them with commas)", "\t - st/sig-type (select multiple types by separating them with commas)"); + } + + @Override + protected void runTests() throws Exception { kpgAlgo = cli.getOptionValue("test.kpg-type"); kaAlgo = cli.getOptionValue("test.ka-type"); sigAlgo = cli.getOptionValue("test.sig-type"); kaTypes = kaAlgo != null ? Arrays.asList(kaAlgo.split(",")) : new ArrayList<>(); sigTypes = sigAlgo != null ? Arrays.asList(sigAlgo.split(",")) : new ArrayList<>(); - } - - @Override - protected void runTests() throws Exception { + KeyPairGeneratorIdent kpgIdent; if (kpgAlgo == null) { // try EC, if not, fail with: need to specify kpg algo. |
