From bddbfa58c01b97e7134e9acdb266855af2a4ddac Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 7 Jul 2020 14:07:38 +0200 Subject: OX: Fix tests Fix: ``` /usr/bin/ld: src/xmpp/ox.o: in function `ox_announce_public_key': src/xmpp/ox.c:90: undefined reference to `p_ox_gpg_readkey' ``` --- src/xmpp/ox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xmpp/ox.c b/src/xmpp/ox.c index c1901085..1ece9fde 100644 --- a/src/xmpp/ox.c +++ b/src/xmpp/ox.c @@ -42,7 +42,7 @@ #include "xmpp/stanza.h" #include "pgp/gpg.h" - +#ifdef HAVE_LIBGPGME static void _ox_metadata_node__public_key(const char* const fingerprint); /*! @@ -216,3 +216,4 @@ char* _gettimestamp() { return strdup(d->str); } +#endif // HAVE_LIBGPGME -- cgit 1.4.1-2-gfad0