Skip to content

Commit

Permalink
Merge pull request #2 from eveith/master
Browse files Browse the repository at this point in the history
Fixed compile break on pgpFreeDig with RPM 5
  • Loading branch information
mlschroe committed Dec 1, 2011
2 parents d66cbdf + a863fb2 commit e74e0bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/repo_rpmdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3027,7 +3027,11 @@ pubkey2solvable(Solvable *s, Repodata *data, char *pubkey)
repodata_set_str(data, s - s->repo->pool->solvables, PUBKEY_KEYID, keyid);
if (dig->pubkey.userid)
setutf8string(data, s - s->repo->pool->solvables, SOLVABLE_SUMMARY, dig->pubkey.userid);
#ifndef RPM5
(void)pgpFreeDig(dig);
#else
(void)pgpDigFree(dig);
#endif
sat_free((void *)pkts);
return 1;
}
Expand Down

0 comments on commit e74e0bf

Please sign in to comment.