diff options
| author | J08nY | 2018-08-14 18:46:41 +0200 |
|---|---|---|
| committer | J08nY | 2018-08-14 19:01:12 +0200 |
| commit | c8a14bb85176b76ef817fea0002c0607f0f03d57 (patch) | |
| tree | 820aa310fef1d16b5c1638469bbe9a2d26be20be /src/cz/crcs/ectester/reader/test/CardCofactorSuite.java | |
| parent | 8b60f1b6e4369b734818b415eac1373751170589 (diff) | |
| download | ECTester-c8a14bb85176b76ef817fea0002c0607f0f03d57.tar.gz ECTester-c8a14bb85176b76ef817fea0002c0607f0f03d57.tar.zst ECTester-c8a14bb85176b76ef817fea0002c0607f0f03d57.zip | |
Allow exporting set curve parameters to verify them.
Diffstat (limited to '')
| -rw-r--r-- | src/cz/crcs/ectester/reader/test/CardCofactorSuite.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cz/crcs/ectester/reader/test/CardCofactorSuite.java b/src/cz/crcs/ectester/reader/test/CardCofactorSuite.java index acac7c1..710b704 100644 --- a/src/cz/crcs/ectester/reader/test/CardCofactorSuite.java +++ b/src/cz/crcs/ectester/reader/test/CardCofactorSuite.java @@ -54,7 +54,7 @@ public class CardCofactorSuite extends CardTestSuite { Test ecdh = CompoundTest.all(ExpectedValue.SUCCESS, "Perform ECDH with public points on non-generator subgroup.", ecdhTests.toArray(new Test[0])); if (cfg.cleanup) { - Test cleanup = CommandTest.expect(new Command.Cleanup(this.card), ExpectedValue.SUCCESS); + Test cleanup = CommandTest.expect(new Command.Cleanup(this.card), ExpectedValue.ANY); doTest(CompoundTest.greedyAllTry(ExpectedValue.SUCCESS, "Cofactor test of " + curve.getId() + ".", prepare, ecdh, cleanup)); } else { doTest(CompoundTest.greedyAllTry(ExpectedValue.SUCCESS, "Cofactor test of " + curve.getId() + ".", prepare, ecdh)); |
