From Bernhard Guillon.
git-svn-id: http://opkg.googlecode.com/svn/trunk@603
e8e0d7a0-c8d9-11dd-a880-
a1081c7ac358
else
opkg_msg(NOTICE, "Signature check failed.\n");
}
else
opkg_msg(NOTICE, "Signature check failed.\n");
}
+ if (err) {
+ /* The signature was wrong so delete it */
+ opkg_msg(NOTICE, "Remove wrong Signature file.\n");
+ unlink (tmp_file_name);
+ unlink (list_file_name);
+ }
/* We shouldn't unlink the signature ! */
// unlink (tmp_file_name);
free (tmp_file_name);
/* We shouldn't unlink the signature ! */
// unlink (tmp_file_name);
free (tmp_file_name);