Skip to content

Commit

Permalink
Fix doc strings
Browse files Browse the repository at this point in the history
Otherwise these create warnings which fail the build if treated as
errors.
  • Loading branch information
ffesti authored and pmatilai committed Jun 17, 2024
1 parent 4c1f71e commit e98aa17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion include/rpm/rpmkeyring.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,15 @@ pgpDigParams rpmPubkeyPgpDigParams(rpmPubkey key);

/** \ingroup rpmkeyring
* Lookup a pubkey in the keyring
* @param keyring keyring handle
* @param key Pubkey to find in keyring
* @return pubkey handle, NULL if not found
*/
rpmPubkey rpmKeyringLookupKey(rpmKeyring keyring, rpmPubkey key);

/** \ingroup rpmkeyring
* Modify the keys in the keyring
* @param key Pubkey
* @param keyring keyring handle
* @param key pubkey handle
* @param mode mode of operation
* @return 0 on success, -1 on error, 1 if the operation did not
Expand Down
4 changes: 2 additions & 2 deletions include/rpm/rpmpgp.h
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ char *pgpIdentItem(pgpDigParams digp);
* @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 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
*/
Expand Down

0 comments on commit e98aa17

Please sign in to comment.