about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-08-23 23:09:44 +0100
committerJames Booth <boothj5@gmail.com>2015-08-23 23:09:44 +0100
commitb1ab4b28545de482106315722c47e0fb741a275e (patch)
tree3ee2db64e1f5f854ec19863bbad914e751c5897d /tests
parent8501d1db33e78f0fc19efb1d6b36915ca5ad2c7e (diff)
downloadprofani-tty-b1ab4b28545de482106315722c47e0fb741a275e.tar.gz
Added JID to log when failing to load PGP fingerprint
Added PGP stub for tests
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/pgp/stub_gpg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unittests/pgp/stub_gpg.c b/tests/unittests/pgp/stub_gpg.c
index f8e05d57..577f7d66 100644
--- a/tests/unittests/pgp/stub_gpg.c
+++ b/tests/unittests/pgp/stub_gpg.c
@@ -30,6 +30,11 @@ char* p_gpg_sign(const char * const str, const char * const fp)
     return NULL;
 }
 
+gboolean p_gpg_valid_key(const char * const keyid)
+{
+    return FALSE;
+}
+
 gboolean p_gpg_available(const char * const barejid)
 {
     return FALSE;