Skip to content

Commit

Permalink
Fix wrong function name mentioned in rnp.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 committed Dec 9, 2024
1 parent ddcbaa9 commit 7c8431f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/rnp/rnp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1553,10 +1553,10 @@ RNP_API rnp_result_t rnp_key_get_signature_at(rnp_key_handle_t key,
/**
* @brief Create new direct-key signature over the target, issued by signer. It may be
* customized via the rnp_signature_set_* calls, and finalized via the
* rnp_signature_sign() call.
* rnp_key_signature_sign() call.
*
* @param signer signing key, must be secret, and must exist in the keyring up to the
* rnp_signature_sign() call. Cannot be NULL.
* rnp_key_signature_sign() call. Cannot be NULL.
* @param target target key for which signature should be made. May be NULL, then signature
* over the signer (self-signature) will be made.
*
Expand All @@ -1572,10 +1572,10 @@ RNP_API rnp_result_t rnp_key_direct_signature_create(rnp_key_handle_t sig
* @brief Create new certification signature, issued by the signer. This could be
* self-certification (if uid belongs to the signer key) or certification of the other
* key. This signature could be customized by rnp_signature_set_* calls and finalized
* via the rnp_signature_sign() call.
* via the rnp_key_signature_sign() call.
*
* @param signer signing key, must be secret, and must exist in the keyring up to the
* rnp_signature_sign() call. Cannot be NULL.
* rnp_key_signature_sign() call. Cannot be NULL.
* @param uid user id which should be certified, i.e. bound to the key with signature.
* Cannot be NULL.
* @param type certification type. May be one of the RNP_CERTIFICATION_* values, or NULL
Expand All @@ -1596,10 +1596,10 @@ RNP_API rnp_result_t rnp_key_certification_create(rnp_key_handle_t signer
/**
* @brief Create new key or subkey revocation signature. It may be
* customized via the rnp_signature_set_* calls, and finalized via the
* rnp_signature_sign() call.
* rnp_key_signature_sign() call.
*
* @param signer revoker's key, must be secret, and must exist in the keyring up to the
* rnp_signature_sign() call. Cannot be NULL.
* rnp_key_signature_sign() call. Cannot be NULL.
* @param target target key for which signature should be made. May be NULL, then signer will
* revoke itself.
*
Expand Down

0 comments on commit 7c8431f

Please sign in to comment.