diff options
author | DebXWoody <stefan@debxwoody.de> | 2021-05-28 17:57:42 +0200 |
---|---|---|
committer | DebXWoody <stefan@debxwoody.de> | 2021-05-28 17:57:42 +0200 |
commit | 9974c68ee8baeb16f13267d6f044946cdf16f24c (patch) | |
tree | 9553c27e15a495204ab8a069cde9fb98e090d8a4 /tests/unittests | |
parent | efe447037255e8593b706b2faf157c7057708a6b (diff) | |
download | profani-tty-9974c68ee8baeb16f13267d6f044946cdf16f24c.tar.gz |
Display OMEMO device ID
Display the OMEMO device ID which has been generated, when the user generated OMEMO crytographic materials via /omemo gen.
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/omemo/stub_omemo.c | 5 |
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; +} |