}
/* check that the repository is valid */
- #if HAVE_GPGME
+ #if defined(HAVE_GPGME) || defined(HAVE_OPENSSL)
char *list_file_name, *sig_file_name, *lists_dir;
/* check to ensure the package has come from a repository */
{
if (opkg_verify_file (conf, list_file_name, sig_file_name))
return OPKG_INSTALL_ERR_SIGNATURE;
+ }else{
+ return OPKG_INSTALL_ERR_SIGNATURE;
}
free (lists_dir);