aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ldap-wrapper.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-10-17 00:23:26 +0000
committerNIIBE Yutaka <[email protected]>2019-10-17 00:23:26 +0000
commit286d4c607574e91f590512a1385bb3320cf8da77 (patch)
tree5655654d6f43899487f75f65a00cdf15b9866231 /dirmngr/ldap-wrapper.c
parentdoc: Fix documentation about --locate-keys. (diff)
downloadgnupg-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