diff options
author | pedroGitt <pedro.contreiras@amdocs.com> | 2016-10-27 17:24:16 +0200 |
---|---|---|
committer | pedroGitt <pedro.contreiras@amdocs.com> | 2016-10-27 17:24:16 +0200 |
commit | 6f6d33c7eb0adea276e139991fece7603e8a4a90 (patch) | |
tree | 3720e2cb501cdbd922fa3f8fd47dcb3f7b1b4a68 /java/android/OlmLibSdk | |
parent | 31f8fe23c5de0cf226f5061552c02a5bdc767b6a (diff) |
Update test01VerifyEd25519Signing() with a real message
Diffstat (limited to 'java/android/OlmLibSdk')
-rw-r--r-- | java/android/OlmLibSdk/olm-sdk/src/androidTest/java/org/matrix/olm/OlmUtilityTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/android/OlmLibSdk/olm-sdk/src/androidTest/java/org/matrix/olm/OlmUtilityTest.java b/java/android/OlmLibSdk/olm-sdk/src/androidTest/java/org/matrix/olm/OlmUtilityTest.java index d4c3382..d40c35a 100644 --- a/java/android/OlmLibSdk/olm-sdk/src/androidTest/java/org/matrix/olm/OlmUtilityTest.java +++ b/java/android/OlmLibSdk/olm-sdk/src/androidTest/java/org/matrix/olm/OlmUtilityTest.java @@ -56,7 +56,7 @@ public class OlmUtilityTest { public void test01VerifyEd25519Signing() { String fingerPrintKey = null; StringBuffer errorMsg = new StringBuffer(); - String message = "{\"key1\":\"value1\",\"key2\":\"value2\"};"; + String message = "{\"algorithms\":[\"m.megolm.v1.aes-sha2\",\"m.olm.v1.curve25519-aes-sha2\"],\"device_id\":\"YMBYCWTWCG\",\"keys\":{\"curve25519:YMBYCWTWCG\":\"KZFa5YUXV2EOdhK8dcGMMHWB67stdgAP4+xwiS69mCU\",\"ed25519:YMBYCWTWCG\":\"0cEgQJJqjgtXUGp4ZXQQmh36RAxwxr8HJw2E9v1gvA0\"},\"user_id\":\"@mxBob14774891254276b253f42-f267-43ec-bad9-767142bfea30:localhost:8480\"}"; OlmAccount account = null; // create account |