[Rpm-maint] [rpm-software-management/rpm] Add Key Fingerprints to rpmsinfoMsg() (PR #3321)
Florian Festi
notifications at github.com
Tue Oct 1 10:36:27 UTC 2024
@ffesti commented on this pull request.
> free(pgpsubkeys);
}
*count = pgpsubkeysCount;
return subkeys;
}
+rpmPubkey rpmPubkeyPrimarykey(rpmPubkey key)
+{
+ rpmPubkey primarykey = NULL;
+ if (key) {
+ wrlock lock(key->mutex);
+ if (key->primarykey == NULL) {
+ primarykey = key;
+ primarykey->nrefs++; /* can't use rpmPubkeyLink due to wrlock */
+ } else {
+ primarykey = key->primarykey;
+ rpmPubkeyLink(primarykey);
Done.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3321#discussion_r1782536775
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3321/review/2339816929 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241001/c46daa03/attachment-0001.html>
More information about the Rpm-maint
mailing list