Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index c76b502a..be55500c 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -969,6 +969,7 @@ finish:
return errors;
}
+#ifdef HAVE_LIBGPGME
static int check_keyring(alpm_handle_t *handle)
{
size_t current = 0, numtargs;
@@ -1038,6 +1039,7 @@ static int check_keyring(alpm_handle_t *handle)
return 0;
}
+#endif /* HAVE_LIBGPGME */
static int check_validity(alpm_handle_t *handle,
size_t total, size_t total_bytes)