From 358e9d6af0677354fa70fa089124de07d8423eb7 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 23 Jun 2015 23:29:10 +0100 Subject: Added /pgp setkey command --- tests/unittests/pgp/stub_gpg.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/unittests/pgp') 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; +} + -- cgit 1.4.1-2-gfad0