about summary refs log tree commit diff stats
path: root/tests/unittests
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-07-06 15:03:13 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-07-06 15:03:13 +0200
commit87ddb8081ea237573b6825685edbe1c780b1e628 (patch)
treebb26b389c263472ad5e49f0cc24caea49149ab8b /tests/unittests
parent5a179572535805022580b264a99df60a47cb935d (diff)
downloadprofani-tty-87ddb8081ea237573b6825685edbe1c780b1e628.tar.gz
Tests: Add ox_announce_public_key stub
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/xmpp/stub_ox.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unittests/xmpp/stub_ox.c b/tests/unittests/xmpp/stub_ox.c
new file mode 100644
index 00000000..11529533
--- /dev/null
+++ b/tests/unittests/xmpp/stub_ox.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <glib.h>
+#include <stdlib.h>
+
+gboolean 
+ox_announce_public_key(const char* const filename)
+{
+    return FALSE;
+}