about summary refs log tree commit diff stats
path: root/tests/unittests/pgp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/pgp')
-rw-r--r--tests/unittests/pgp/stub_gpg.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/unittests/pgp/stub_gpg.c b/tests/unittests/pgp/stub_gpg.c
new file mode 100644
index 00000000..03b58b55
--- /dev/null
+++ b/tests/unittests/pgp/stub_gpg.c
@@ -0,0 +1,40 @@
+#include <glib.h>
+
+#include "pgp/gpg.h"
+
+void p_gpg_init(void) {}
+void p_gpg_close(void) {}
+
+GSList* p_gpg_list_keys(void)
+{
+    return NULL;
+}
+
+GHashTable*
+p_gpg_fingerprints(void)
+{
+    return NULL;
+}
+
+const char* p_gpg_libver(void)
+{
+    return NULL;
+}
+
+void p_gpg_free_key(ProfPGPKey *key) {}
+
+void p_gpg_verify(const char * const barejid, const char *const sign) {}
+
+char* p_gpg_sign(const char * const str, const char * const fp)
+{
+    return NULL;
+}
+
+gboolean p_gpg_available(const char * const barejid)
+{
+    return FALSE;
+}
+char * p_gpg_decrypt(const char * const barejid, const char * const cipher)
+{
+    return NULL;
+}
white' href='/akspecs/aerc/commit/lib/ui/borders.go?h=0.5.0&id=84965d680cff655c7734070ef93fd3c1e2177748'>84965d6 ^
f0791d4 ^
80e891a ^
f0791d4 ^



80e891a ^
f0791d4 ^



80e891a ^
f0791d4 ^


80e891a ^
f0791d4 ^




f6216bb ^






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75