summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3499532)
opkg_message (conf, OPKG_NOTICE, "Signature check failed\n");
} else {
int err;
opkg_message (conf, OPKG_NOTICE, "Signature check failed\n");
} else {
int err;
- err = opkg_verify_file (list_file_name, tmp_file_name);
+ err = opkg_verify_file (conf, list_file_name, tmp_file_name);
if (err == 0)
opkg_message (conf, OPKG_NOTICE, "Signature check passed\n");
else
if (err == 0)
opkg_message (conf, OPKG_NOTICE, "Signature check passed\n");
else
-opkg_verify_file (char *text_file, char *sig_file)
+opkg_verify_file (opkg_conf_t *conf, char *text_file, char *sig_file)
{
#ifdef HAVE_GPGME
int status = -1;
{
#ifdef HAVE_GPGME
int status = -1;
- printf ("Signature check skipped because GPG support was not enabled in this build\n");
+ opkg_message (conf, OPKG_NOTICE, "Signature check for %s was skipped because GPG support was not enabled in this build\n");
*/
int opkg_prepare_url_for_install(opkg_conf_t *conf, const char *url, char **namep);
*/
int opkg_prepare_url_for_install(opkg_conf_t *conf, const char *url, char **namep);
-int opkg_verify_file (char *text_file, char *sig_file);
+int opkg_verify_file (opkg_conf_t *conf, char *text_file, char *sig_file);