diff options
| author | J08nY | 2018-01-03 22:25:02 +0100 |
|---|---|---|
| committer | J08nY | 2018-01-03 22:25:02 +0100 |
| commit | e9fcef97c71d01e92658af522b5ecb99a751b540 (patch) | |
| tree | 1ff84d5d8efcf5933e209be610bd8404e9c6ec10 /src/cz/crcs/ectester/standalone/test/KeyAgreementTest.java | |
| parent | 9b2cb89738abd4c83d8175069bcb1902ebe2997b (diff) | |
| download | ECTester-e9fcef97c71d01e92658af522b5ecb99a751b540.tar.gz ECTester-e9fcef97c71d01e92658af522b5ecb99a751b540.tar.zst ECTester-e9fcef97c71d01e92658af522b5ecb99a751b540.zip | |
Fix YAML export and standalone build.
Diffstat (limited to 'src/cz/crcs/ectester/standalone/test/KeyAgreementTest.java')
| -rw-r--r-- | src/cz/crcs/ectester/standalone/test/KeyAgreementTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cz/crcs/ectester/standalone/test/KeyAgreementTest.java b/src/cz/crcs/ectester/standalone/test/KeyAgreementTest.java index 16a2080..5f697c4 100644 --- a/src/cz/crcs/ectester/standalone/test/KeyAgreementTest.java +++ b/src/cz/crcs/ectester/standalone/test/KeyAgreementTest.java @@ -20,9 +20,9 @@ public class KeyAgreementTest extends SimpleTest<KeyAgreementTestable> { @Override public Result apply(KeyAgreementTestable ka) { if (Arrays.equals(ka.getSecret(), expectedSecret)) { - return new Result(Result.Value.SUCCESS); + return new Result(Result.Value.SUCCESS, "The KeyAgreement result matched the expected derived secret."); } else { - return new Result(Result.Value.FAILURE); + return new Result(Result.Value.FAILURE, "The KeyAgreement result did not match the expected derived secret."); } } }); |
