mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 13:46:20 +00:00
Split ox functions from gpg.c to ox.c
This commit is contained in:
@@ -98,21 +98,3 @@ p_gpg_format_fp_str(char* fp)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
gboolean
|
||||
ox_is_private_key_available(const char* const barejid)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
ox_is_public_key_available(const char* const barejid)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
GHashTable*
|
||||
ox_gpg_public_keys(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
21
tests/unittests/pgp/stub_ox.c
Normal file
21
tests/unittests/pgp/stub_ox.c
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <glib.h>
|
||||
|
||||
#include "pgp/gpg.h"
|
||||
|
||||
gboolean
|
||||
ox_is_private_key_available(const char* const barejid)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
ox_is_public_key_available(const char* const barejid)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
GHashTable*
|
||||
ox_gpg_public_keys(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
Reference in New Issue
Block a user