Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reformat comment. #75

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading