about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/unittests/pgp/stub_gpg.c11
-rw-r--r--tests/unittests/xmpp/stub_xmpp.c5
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/unittests/pgp/stub_gpg.c b/tests/unittests/pgp/stub_gpg.c
index f5c63930..efa6dcd3 100644
--- a/tests/unittests/pgp/stub_gpg.c
+++ b/tests/unittests/pgp/stub_gpg.c
@@ -67,3 +67,14 @@ p_gpg_format_fp_str(char *fp)
     return NULL;
 }
 
+gboolean ox_is_private_key_available(const char *const barejid) {
+    return FALSE;
+}
+
+gboolean ox_is_public_key_available(const char *const barejid) {
+    return FALSE;
+}
+
+GHashTable* ox_gpg_public_keys(void) {
+    return NULL;
+}
diff --git a/tests/unittests/xmpp/stub_xmpp.c b/tests/unittests/xmpp/stub_xmpp.c
index 668e8725..16392283 100644
--- a/tests/unittests/xmpp/stub_xmpp.c
+++ b/tests/unittests/xmpp/stub_xmpp.c
@@ -122,6 +122,11 @@ char* message_send_chat_pgp(const char * const barejid, const char * const msg,
     return NULL;
 }
 
+char* message_send_chat_ox(const char * const barejid, const char * const msg, gboolean request_receipt, const char *const replace_id)
+{
+    return NULL;
+}
+
 char* message_send_private(const char *const fulljid, const char *const msg, const char *const oob_url)
 {
     return NULL;