Opkg support for smime (pkcs7) packages list signing
[oweals/opkg-lede.git] / libopkg / opkg.c
index a20023e34341fae40ac9ef706b0fb1f2d5fd6ad2..c6a86eae225c0759c37c2376e58b4ff8a148739c 100644 (file)
@@ -852,7 +852,7 @@ opkg_update_package_lists (opkg_t *opkg, opkg_progress_callback_t progress_callb
     }
     free (url);
 
-#ifdef HAVE_GPGME
+#if defined(HAVE_GPGME) || defined(HAVE_OPENSSL)
     if ( opkg->conf->check_signature ) {
         char *sig_file_name;
         /* download detached signitures to verify the package lists */