diff options
| author | J08nY | 2018-01-19 17:12:55 +0100 |
|---|---|---|
| committer | J08nY | 2018-01-19 17:12:55 +0100 |
| commit | 7f9880753305a088e8995a600d80712875439953 (patch) | |
| tree | 5666ea3490df9559292e9842714d0c6e97f33e9a /src/cz/crcs/ectester/reader | |
| parent | d5b55308bf52aa7c55e521f6012fbfc8e5ba4ce4 (diff) | |
| download | ECTester-7f9880753305a088e8995a600d80712875439953.tar.gz ECTester-7f9880753305a088e8995a600d80712875439953.tar.zst ECTester-7f9880753305a088e8995a600d80712875439953.zip | |
Add standard curve twists.
Diffstat (limited to 'src/cz/crcs/ectester/reader')
| -rw-r--r-- | src/cz/crcs/ectester/reader/test/CardWrongCurvesSuite.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cz/crcs/ectester/reader/test/CardWrongCurvesSuite.java b/src/cz/crcs/ectester/reader/test/CardWrongCurvesSuite.java index 3a350c2..cac8fab 100644 --- a/src/cz/crcs/ectester/reader/test/CardWrongCurvesSuite.java +++ b/src/cz/crcs/ectester/reader/test/CardWrongCurvesSuite.java @@ -50,7 +50,7 @@ public class CardWrongCurvesSuite extends CardTestSuite { Test allocate = runTest(CommandTest.expect(new Command.AllocateKeyAgreement(this.card, kaType), Result.ExpectedValue.SUCCESS)); if (allocate.ok()) { Test ka = runTest(CommandTest.expect(new Command.ECDH(this.card, ECTesterApplet.KEYPAIR_LOCAL, ECTesterApplet.KEYPAIR_REMOTE, ECTesterApplet.EXPORT_FALSE, EC_Consts.CORRUPTION_NONE, kaType), Result.ExpectedValue.FAILURE)); - doTest(CompoundTest.all(Result.ExpectedValue.SUCCESS, "Allocate and perform KA, should fail.", allocate, ka)); + doTest(CompoundTest.any(Result.ExpectedValue.FAILURE, "Allocate and perform KA, should fail.", allocate, ka)); } } } |
