Home GnuPG
Diffusion GnuPG c03a3eb01d2d

g10: Enumerated keys for decryption should be unique.
c03a3eb01d2dUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

g10: Enumerated keys for decryption should be unique.

* g10/getkey.c (enum_secret_keys): Collecting keys in the context,
check duplicate to make sure returning only unique keys.
* g10/pubkey-enc.c (get_session_key): Now, it's the responsibility of
enum_secret_keys to free keys.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 11 2018, 4:48 AM
Parents
rGfed3e10121a7: g10: Change the order of handling private key for encryption.
Branches
Unknown
Tags
Unknown