[Rpm-maint] [rpm-software-management/rpm] Implement a separate lock for the keystore (PR #4123)
Michal Domonkos
notifications at github.com
Tue Apr 21 10:01:32 UTC 2026
@dmnks commented on this pull request.
> @@ -318,13 +330,29 @@ rpmRC rpmtsImportHeader(rpmtxn txn, Header h, rpmFlags flags)
return rc;
}
-rpmRC rpmtxnImportPubkey(rpmtxn txn, const unsigned char * pkt, size_t pktlen)
+static rpmtxn ensureKxn(rpmtxn txn, const char *fname)
+{
+ rpmtxn kxn = NULL;
+ if (txn && txn->txntype != TXN_KEYRING) {
We'd then have to pass `ts` to the function as well, of course.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4123?email_source=notifications&email_token=ADLPZUZSD3ZDFWFDJJDCK2D4W5BHZA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMJUGY3TQMJVGQYKM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOS6XA4S7OJSXM2LFO5PW433UNFTGSY3BORUW63TTL5RWY2LDNM#discussion_r3116608392
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4123/review/4146781540 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260421/1262c0c3/attachment.htm>
More information about the Rpm-maint
mailing list