about summary refs log tree commit diff stats
path: root/tests/unittests/pgp
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-06-29 21:21:16 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-06-29 21:21:16 +0200
commit60f40988462c4d0fe4645839b866c576a2536aef (patch)
tree9b06efaf386227756fba193f296001bf13bd81cb /tests/unittests/pgp
parent31ec640d051b58b13868340741957e4066274b21 (diff)
downloadprofani-tty-60f40988462c4d0fe4645839b866c576a2536aef.tar.gz
Add OX test stubs
Diffstat (limited to 'tests/unittests/pgp')
-rw-r--r--tests/unittests/pgp/stub_gpg.c11
1 files changed, 11 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;
+}