about summary refs log tree commit diff stats
path: root/tests/unittests/omemo
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-05-28 19:55:13 +0200
committerGitHub <noreply@github.com>2021-05-28 19:55:13 +0200
commit69e3cebf26dc5c6a9c13fe3269bcd659060d7c4e (patch)
treeddb0a7fdebbe342a562a326ac17587afb9b3e176 /tests/unittests/omemo
parent6c5fd086987128329e28ddf8f0161ce2ca45976d (diff)
parent9974c68ee8baeb16f13267d6f044946cdf16f24c (diff)
downloadprofani-tty-69e3cebf26dc5c6a9c13fe3269bcd659060d7c4e.tar.gz
Merge pull request #1540 from DebXWoody/feature/omemo-display-deviceid
Display OMEMO device ID
Diffstat (limited to 'tests/unittests/omemo')
-rw-r--r--tests/unittests/omemo/stub_omemo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unittests/omemo/stub_omemo.c b/tests/unittests/omemo/stub_omemo.c
index f6cc4491..127787ec 100644
--- a/tests/unittests/omemo/stub_omemo.c
+++ b/tests/unittests/omemo/stub_omemo.c
@@ -114,3 +114,8 @@ omemo_encrypt_file(FILE* in, FILE* out, off_t file_size, int* gcry_res)
     return NULL;
 };
 void omemo_free(void* a){};
+
+uint32_t
+omemo_device_id() {
+	return 123;
+}