libopkg: add support for signature checking through usign
[oweals/opkg-lede.git] / libopkg / opkg_install.c
index 1b6866cd97b9582d3bb782b891597aafea2f6723..7e0e17e8262768e9b6025d65108e27c47009768f 100644 (file)
@@ -1288,7 +1288,7 @@ opkg_install_pkg(pkg_t *pkg, int from_upgrade)
      }
 
      /* check that the repository is valid */
-     #if defined(HAVE_GPGME) || defined(HAVE_OPENSSL)
+     #if defined(HAVE_GPGME) || defined(HAVE_OPENSSL) || defined(HAVE_USIGN)
      char *list_file_name, *sig_file_name, *lists_dir;
 
      /* check to ensure the package has come from a repository */