mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +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
30153c65f0
commit
6bb93fc295
@ -3968,13 +3968,11 @@ lookup (ctrl_t ctrl, getkey_ctx_t ctx, int want_secret,
|
||||
* { // Process SK.
|
||||
* if (done)
|
||||
* break;
|
||||
* free_public_key (sk);
|
||||
* sk = xmalloc_clear (sizeof (*sk));
|
||||
* }
|
||||
*
|
||||
* // Release any resources used by CTX.
|
||||
* enum_secret_keys (&ctx, NULL);
|
||||
* free_public_key (sk);
|
||||
*
|
||||
* if (gpg_err_code (err) != GPG_ERR_EOF)
|
||||
* ; // An error occurred.
|
||||
|
Loading…
x
Reference in New Issue
Block a user