diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2018-06-11 08:02:57 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2018-08-27 09:24:11 +0200 |
commit | 6bb93fc295e712ddf9b461dfe650211caf16a844 (patch) | |
tree | 342a83a23977cdc7f72d3c535a7f198b17d5a8ee /g10/getkey.c | |
parent | g10: Enumerated keys for decryption should be unique. (diff) | |
download | gnupg2-6bb93fc295e712ddf9b461dfe650211caf16a844.tar.xz gnupg2-6bb93fc295e712ddf9b461dfe650211caf16a844.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | g10/getkey.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/g10/getkey.c b/g10/getkey.c index 5e4ca548a..e9e98b1fc 100644 --- a/g10/getkey.c +++ b/g10/getkey.c @@ -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. |