libopkg: add support for signature checking through usign
[oweals/opkg-lede.git] / libopkg / opkg_cmd.c
index d1e91cbeae54bfdad58b0dfcedfcb63f79d0e065..c30e34dc226c8c397bc5c8bb9c33a5a85986dc30 100644 (file)
@@ -169,7 +169,7 @@ opkg_update_cmd(int argc, char **argv)
                            list_file_name);
          }
          free(url);
-#if defined(HAVE_GPGME) || defined(HAVE_OPENSSL)
+#if defined(HAVE_GPGME) || defined(HAVE_OPENSSL) || defined(HAVE_USIGN)
           if (conf->check_signature) {
               /* download detached signitures to verify the package lists */
               /* get the url for the sig file */