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
1 changed files with 2 additions and 0 deletions

View File

@ -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)