diff options
author | James Booth <boothj5@gmail.com> | 2015-06-23 23:29:10 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-23 23:29:10 +0100 |
commit | 358e9d6af0677354fa70fa089124de07d8423eb7 (patch) | |
tree | 71554c57d40f5267307e0b815bd50be6b397400c /tests/unittests/pgp | |
parent | 2d3537515d9b0dbba51265ed7819dd80b31a33d8 (diff) | |
download | profani-tty-358e9d6af0677354fa70fa089124de07d8423eb7.tar.gz |
Added /pgp setkey command
Diffstat (limited to 'tests/unittests/pgp')
-rw-r--r-- | tests/unittests/pgp/stub_gpg.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unittests/pgp/stub_gpg.c b/tests/unittests/pgp/stub_gpg.c index 03b58b55..671b2092 100644 --- a/tests/unittests/pgp/stub_gpg.c +++ b/tests/unittests/pgp/stub_gpg.c @@ -38,3 +38,12 @@ char * p_gpg_decrypt(const char * const barejid, const char * const cipher) { return NULL; } + +void p_gpg_on_connect(const char * const barejid) {} +void p_gpg_on_disconnect(void) {} + +gboolean p_gpg_addkey(const char * const jid, const char * const keyid) +{ + return TRUE; +} + |