diff options
| author | J08nY | 2019-03-07 11:02:53 +0100 |
|---|---|---|
| committer | J08nY | 2019-03-07 11:02:53 +0100 |
| commit | 26e5f00e782d3d060e3d78d34c16c405656f8c69 (patch) | |
| tree | 8429344226675b5155bacc7e18d95fcaab43c107 /src/cz/crcs/ectester/reader/test/CardWrongSuite.java | |
| parent | 8d6b14e7857fb140fb5da03e63f6a13f15475605 (diff) | |
| download | ECTester-26e5f00e782d3d060e3d78d34c16c405656f8c69.tar.gz ECTester-26e5f00e782d3d060e3d78d34c16c405656f8c69.tar.zst ECTester-26e5f00e782d3d060e3d78d34c16c405656f8c69.zip | |
Fix invalid points in the invalid test suite (some were not padded).
Diffstat (limited to '')
| -rw-r--r-- | src/cz/crcs/ectester/reader/test/CardWrongSuite.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cz/crcs/ectester/reader/test/CardWrongSuite.java b/src/cz/crcs/ectester/reader/test/CardWrongSuite.java index 4a3a2e9..13a3f8b 100644 --- a/src/cz/crcs/ectester/reader/test/CardWrongSuite.java +++ b/src/cz/crcs/ectester/reader/test/CardWrongSuite.java @@ -57,7 +57,7 @@ public class CardWrongSuite extends CardTestSuite { for (byte kaType : EC_Consts.KA_TYPES) { Test allocate = runTest(CommandTest.expect(new Command.AllocateKeyAgreement(this.card, kaType), 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.TRANSFORMATION_NONE, kaType), ExpectedValue.FAILURE)); + Test ka = runTest(CommandTest.expect(new Command.ECDH(this.card, ECTesterApplet.KEYPAIR_REMOTE, ECTesterApplet.KEYPAIR_LOCAL, ECTesterApplet.EXPORT_FALSE, EC_Consts.TRANSFORMATION_NONE, kaType), ExpectedValue.FAILURE)); Test kaTest = runTest(CompoundTest.all(ExpectedValue.SUCCESS, "Allocate and perform KA.", allocate, ka)); tests.add(kaTest); } |
