Skip to content

Commit

Permalink
Reformat comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwalfield committed Jul 9, 2024
1 parent 450edad commit 645da09
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 645da09

Please sign in to comment.