Moved stub_gpg.c
This commit is contained in:
32
tests/unittests/pgp/stub_gpg.c
Normal file
32
tests/unittests/pgp/stub_gpg.c
Normal file
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user