diff --git a/src/lib.rs b/src/lib.rs index fb929e9..6218aad 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2254,18 +2254,19 @@ fn _pgpVerifySig(dig: *const PgpDig, ffi!( /// Merge the PGP packets of two certificates -/// +/// /// The certificates must describe the same public key. The call should merge /// important pgp packets (self-signatures, new subkeys, ...) and remove duplicates. -/// -/// @param pkts1 OpenPGP pointer to a buffer with the first certificate -/// @param pkts1len length of the buffer with the first certificate -/// @param pkts2 OpenPGP pointer to a buffer with the second certificate -/// @param pkts2len length of the buffer with the second certificate -/// @param pktsm [out] merged certificate (malloced) -/// @param pktsmlen [out] length of merged certificate -/// @param flags merge flags (currently not used, must be zero) -/// @return RPMRC_OK on success +/// +/// - `pkts1` - OpenPGP pointer to a buffer with the first certificate +/// - `pkts1len` - length of the buffer with the first certificate +/// - `pkts2` - OpenPGP pointer to a buffer with the second certificate +/// - `pkts2len` - length of the buffer with the second certificate +/// - `pktsm` - merged certificate (malloced) +/// - `pktsmlen` - length of merged certificate +/// - `flags` - merge flags (currently not used, must be zero) +/// +/// Returns `RPMRC_OK` on success. fn _pgpPubkeyMerge( pkts1: *const u8, pkts1len: size_t, pkts2: *const u8, pkts2len: size_t,