diff options
author | Allan McRae <allan@archlinux.org> | 2013-02-11 13:39:57 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-02-13 11:50:33 +1000 |
commit | 87ffc648b7bce35dcc55dd43dce832669f83e894 (patch) | |
tree | e397e8103c9243e45f3f431fdeaacda6662b0f2a /lib | |
parent | 1d0a69c655ccdeb1b87e0d2ebbe401acd7925351 (diff) |
Fix --without-gpgme build
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/sync.c | 2 |
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) |