Home GnuPG
Diffusion GnuPG 30153c65f087

g10: Enumerated keys for decryption should be unique.

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
rGce2f71760155: g10: Change decryption key selection for public key encryption.
Branches
Unknown
Tags
Unknown