Fix #25 correctly: compare against repo->signature.

This commit is contained in:
Juan RP
2013-11-30 08:30:25 +01:00
parent e86f9def03
commit d98468515a
2 changed files with 10 additions and 13 deletions

View File

@ -156,9 +156,6 @@ xbps_repo_open(struct xbps_handle *xhp, const char *url)
repo = NULL;
goto out;
}
if (!is_remote)
goto out;
if ((meta = repo_get_dict(repo, XBPS_REPOIDX_META))) {
repo->is_signed = true;
repo->signature = xbps_dictionary_get(meta, "signature");