From 6f6d33c7eb0adea276e139991fece7603e8a4a90 Mon Sep 17 00:00:00 2001 From: pedroGitt Date: Thu, 27 Oct 2016 17:24:16 +0200 Subject: Update test01VerifyEd25519Signing() with a real message --- .../olm-sdk/src/androidTest/java/org/matrix/olm/OlmUtilityTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java') 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 -- cgit v1.2.3