mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-09 22:21:12 +01:00
g10: Fix comment of enum_secret_keys.
* g10/getkey.c (enum_secret_keys): Fix comment for usage of enum_secret_keys, following the previous change. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
c03a3eb01d
commit
b0c00ce0af
@ -3925,13 +3925,11 @@ lookup (ctrl_t ctrl, getkey_ctx_t ctx, int want_secret,
|
|||||||
* { // Process SK.
|
* { // Process SK.
|
||||||
* if (done)
|
* if (done)
|
||||||
* break;
|
* break;
|
||||||
* free_public_key (sk);
|
|
||||||
* sk = xmalloc_clear (sizeof (*sk));
|
* sk = xmalloc_clear (sizeof (*sk));
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* // Release any resources used by CTX.
|
* // Release any resources used by CTX.
|
||||||
* enum_secret_keys (&ctx, NULL);
|
* enum_secret_keys (&ctx, NULL);
|
||||||
* free_public_key (sk);
|
|
||||||
*
|
*
|
||||||
* if (gpg_err_code (err) != GPG_ERR_EOF)
|
* if (gpg_err_code (err) != GPG_ERR_EOF)
|
||||||
* ; // An error occurred.
|
* ; // An error occurred.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user