aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/server.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-04-12 09:41:00 +0000
committerWerner Koch <[email protected]>2021-04-12 09:41:00 +0000
commitecb9265b8dc03a153044e19be804d4c2d2caa4e8 (patch)
tree12eed0f7e38d4c0adf03cc7e72f691a240e022bf /dirmngr/server.c
parentdoc: Register DCO for Jakub Jelen. (diff)
downloadgnupg-ecb9265b8dc03a153044e19be804d4c2d2caa4e8.tar.gz
gnupg-ecb9265b8dc03a153044e19be804d4c2d2caa4e8.zip
scd:p15: Match private keys with certificates also by labels.
* scd/app-p15.c (cdf_object_from_label): New. (cdf_object_from_certid): Fallback to label matching. (read_p15_info): Ditto. (keygrip_from_prkdf): Ditto. Replace duplicated code by a call to cdf_object_from_objid. -- In case there is no certificate for a private key we now also try to find a certificate using a matching label. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/server.c')
0 files changed, 0 insertions, 0 deletions