1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

Fix --without-gpgme build

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2013-02-11 13:39:57 +10:00
parent 1d0a69c655
commit 87ffc648b7

View File

@ -969,6 +969,7 @@ finish:
return errors; return errors;
} }
#ifdef HAVE_LIBGPGME
static int check_keyring(alpm_handle_t *handle) static int check_keyring(alpm_handle_t *handle)
{ {
size_t current = 0, numtargs; size_t current = 0, numtargs;
@ -1038,6 +1039,7 @@ static int check_keyring(alpm_handle_t *handle)
return 0; return 0;
} }
#endif /* HAVE_LIBGPGME */
static int check_validity(alpm_handle_t *handle, static int check_validity(alpm_handle_t *handle,
size_t total, size_t total_bytes) size_t total, size_t total_bytes)