diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-06-29 09:41:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 09:41:40 +0200 |
commit | 412a0a573714c11188cd4a59d871509f8eebbf86 (patch) | |
tree | 461b82fda0388c5ca1da5348118eb0995724a668 /tests/unittests/pgp | |
parent | 5fabca1e3746634eed2be3244313af173c1b6a7d (diff) | |
parent | ca9cc3275a6bf0225540d6f0d497504fd024253d (diff) | |
download | profani-tty-412a0a573714c11188cd4a59d871509f8eebbf86.tar.gz |
Merge pull request #1728 from profanity-im/cleanup-pgp-ox
Split pgp and ox into separate files
Diffstat (limited to 'tests/unittests/pgp')
-rw-r--r-- | tests/unittests/pgp/stub_gpg.c | 18 | ||||
-rw-r--r-- | tests/unittests/pgp/stub_ox.c | 21 |
2 files changed, 21 insertions, 18 deletions
diff --git a/tests/unittests/pgp/stub_gpg.c b/tests/unittests/pgp/stub_gpg.c index 807e9b6b..35616e61 100644 --- a/tests/unittests/pgp/stub_gpg.c +++ b/tests/unittests/pgp/stub_gpg.c @@ -98,21 +98,3 @@ 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/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; +} |