1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
profanity/tests/unittests/pgp/stub_gpg.c

33 lines
458 B
C
Raw Normal View History

2015-03-21 20:12:14 -04:00
#include <glib.h>
#include "pgp/gpg.h"
2015-03-21 20:12:14 -04:00
void p_gpg_init(void) {}
void p_gpg_close(void) {}
2015-03-21 20:29:57 -04:00
2015-03-21 20:12:14 -04:00
GSList* p_gpg_list_keys(void)
{
return NULL;
}
2015-03-21 20:29:57 -04:00
GHashTable*
p_gpg_fingerprints(void)
{
return NULL;
}
const char* p_gpg_libver(void)
{
2015-03-21 20:29:57 -04:00
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;
}