summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:21:12 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:21:12 (EST)
commit53737805077d2f83df7d030cb4e43e7a9be8aed1 (patch)
treee0c7eebe25d1a86fdf001f738613ef6a64b30cd1
parentddb3ebee539287d27ba12f95de8ae972a12c8961 (diff)
opkg.c moving the sig_file_name into the section of HAVE_GPGME
git-svn-id: http://opkg.googlecode.com/svn/trunk@127 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--libopkg/opkg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopkg/opkg.c b/libopkg/opkg.c
index 8ff8075..69dba4e 100644
--- a/libopkg/opkg.c
+++ b/libopkg/opkg.c
@@ -750,7 +750,7 @@ opkg_update_package_lists (opkg_t *opkg, opkg_progress_callback_t progress_callb
for (iter = opkg->conf->pkg_src_list.head; iter; iter = iter->next)
{
- char *url, *list_file_name = NULL, *sig_file_name = NULL;
+ char *url, *list_file_name = NULL;
src = iter->data;
@@ -808,6 +808,7 @@ opkg_update_package_lists (opkg_t *opkg, opkg_progress_callback_t progress_callb
free (url);
#ifdef HAVE_GPGME
+ char *sig_file_name;
/* download detached signitures to verify the package lists */
/* get the url for the sig file */
if (src->extra_data) /* debian style? */