diff options
| author | NIIBE Yutaka <[email protected]> | 2019-10-17 00:23:26 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2019-10-17 00:23:26 +0000 |
| commit | 286d4c607574e91f590512a1385bb3320cf8da77 (patch) | |
| tree | 5655654d6f43899487f75f65a00cdf15b9866231 /dirmngr/ldap-wrapper.c | |
| parent | doc: Fix documentation about --locate-keys. (diff) | |
| download | gnupg-286d4c607574e91f590512a1385bb3320cf8da77.tar.gz gnupg-286d4c607574e91f590512a1385bb3320cf8da77.zip | |
gpg: Fix two other cases in get_best_pubkey_byname.
* g10/getkey.c (pubkey_cmp): Handle a primary key with
PUBKEY_USAGE_ENC, and make sure new key is for encryption.
(get_best_pubkey_byname): Add comment for ranking.
GnuPG-bug-id: 4713
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/ldap-wrapper.c')
0 files changed, 0 insertions, 0 deletions
