@pmatilai commented on this pull request.
> + ks_fs.load_keys(txn, keyring);
+
+ keystore_rpmdb ks_rpmdb = {};
+ rpmKeyring keyring_rpmdb = rpmKeyringNew();
+ ks_rpmdb.load_keys(txn, keyring_rpmdb);
+
+ keystore_openpgp_cert_d ks_opengpg = {};
+ rpmKeyring keyring_openpgp = rpmKeyringNew();
+ ks_opengpg.load_keys(txn, keyring_openpgp);
+
+ for (auto kr: {keyring_fs, keyring_rpmdb, keyring_openpgp}) {
+ rpmKeyringIterator iter = rpmKeyringInitIterator(kr, 0);
+ rpmPubkey key = NULL;
+ const unsigned char * pkt = NULL;
+ size_t pktlen = 0;
+ char *lints = NULL;
pkt, pktlen and lints belong inside the while() loop.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3474#pullrequestreview-2468266115
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3474/review/2468266...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint