@mlschroe commented on this pull request.


> @@ -509,6 +509,19 @@ int pgpSignatureType(pgpDigParams sig);
  */
 char *pgpIdentItem(pgpDigParams digp);
 
+/** \ingroup rpmpgp
+ * Merge the PGP packets of two public keys
+ * @param pkts1                OpenPGP pointer to a buffer of first 
certificates
+ * @param pkts1len     length of the buffer with first certificates
+ * @param pkts2                OpenPGP pointer to a buffer of second 
certificates
+ * @param pkts2len     length of the buffer with second certificates
+ * @param pktsm[out]   merged certificates (malloced)
+ * @param pktsmlen[out]        length of merged certificates
+ * @param flags                merge flags (currently not implemented)
+ * @return             RPMRC_OK on success 
+ */
+rpmRC pgpPubkeyMerge(const uint8_t *pkts1, size_t pkts1len, const uint8_t 
*pkts2, size_t pkts2len, uint8_t **pktsm, size_t *pktsmlen, int flags);

All the other functions use buffers as well (e.g. pgpParsePkts, 
pgpPubKeyCertLen, ...)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3083#discussion_r1609879838
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3083/review/2071077...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to