about summary refs log tree commit diff stats
path: root/tests/unittests/pgp/stub_ox.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/pgp/stub_ox.c')
-rw-r--r--tests/unittests/pgp/stub_ox.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/unittests/pgp/stub_ox.c b/tests/unittests/pgp/stub_ox.c
new file mode 100644
index 00000000..95958425
--- /dev/null
+++ b/tests/unittests/pgp/stub_ox.c
@@ -0,0 +1,21 @@
+#include <glib.h>
+
+#include "pgp/gpg.h"
+
+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;
+}