diff options
| author | Werner Koch <[email protected]> | 2021-02-22 16:51:11 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2021-02-22 16:51:11 +0000 |
| commit | 488eaedc9a332d8164dea22e469354fc10b0a253 (patch) | |
| tree | c9fa3c1ce9950a444ab0b15b4e379fb6467c2ccf /common/utilproto.h | |
| parent | sm: Extend the list of known OIDs. (diff) | |
| download | gnupg-488eaedc9a332d8164dea22e469354fc10b0a253.tar.gz gnupg-488eaedc9a332d8164dea22e469354fc10b0a253.zip | |
scd:p15: Extract extended usage flagsand act upon them.
* scd/app-p15.c: Add a couple of oid constants.
(struct cdf_object_s): Replace fields image and imagelen by cert.
(struct prkdf_object_s): Add extusage flags
(send_keypairinfo): Use them.
(cdf_object_from_certid): Factor parts out to ...
(cdf_object_from_objid): new function.
(read_ef_prkdf): Move info printing to ...
(read_p15_info): here. Fill the extusage flags.
(readcert_by_cdf): Cache the ksba cert object instead of the binary
cert.
* scd/app.c (select_additional_application): Fix a log_debug call.
(scd_update_reader_status_file): Ditto.
--
This allows us to return only KEYPAIRINFO lines for keys we can
actually use.
Diffstat (limited to 'common/utilproto.h')
0 files changed, 0 insertions, 0 deletions
