diff options
author | James Booth <boothj5@gmail.com> | 2015-06-12 23:58:44 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-12 23:58:44 +0100 |
commit | c2c2cee6c9cdeb91b276775c2d11367fb2c95deb (patch) | |
tree | 15797278953ddec2720a0fd43732c05148599320 /tests/unittests | |
parent | efb07f81871d716a0dc716b95f52e4096326cb4f (diff) | |
download | profani-tty-c2c2cee6c9cdeb91b276775c2d11367fb2c95deb.tar.gz |
Moved stub_gpg.c
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/pgp/stub_gpg.c | 32 |
1 files changed, 32 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..da80bbf5 --- /dev/null +++ b/tests/unittests/pgp/stub_gpg.c @@ -0,0 +1,32 @@ +#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; +} + |