diff options
| author | Werner Koch <[email protected]> | 2002-08-16 14:23:40 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2002-08-16 14:23:40 +0000 |
| commit | 8ed2348ae537dcab4ba1413031e6bd834ecc30d4 (patch) | |
| tree | 4906addc325bb0465c6d0c92ce72b61dcac7da13 /scd/card-common.h | |
| parent | Renamed some configure flags. (diff) | |
| download | gnupg-8ed2348ae537dcab4ba1413031e6bd834ecc30d4.tar.gz gnupg-8ed2348ae537dcab4ba1413031e6bd834ecc30d4.zip | |
* scdaemon.c: Include i18n.h.
* card-common.h (struct p15_private_s): Forward declaration. Add
it to card_ctx_s.
* card.c (card_close): Make sure private data is released.
(card_enum_certs): New.
* card-p15.c (p15_release_private_data): New.
(init_private_data): New to work around an OpenSC weirdness.
(p15_enum_keypairs): Do an OpenSC get_objects only once.
(p15_enum_certs): New.
(card_p15_bind): Bind new function.
* command.c (cmd_learn): Return information about the certificates.
Diffstat (limited to 'scd/card-common.h')
| -rw-r--r-- | scd/card-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/card-common.h b/scd/card-common.h index 62b9a8737..50014cead 100644 --- a/scd/card-common.h +++ b/scd/card-common.h @@ -40,6 +40,7 @@ struct card_ctx_s { int (*enum_keypairs) (CARD card, int idx, unsigned char *keygrip, char **keyid); + int (*enum_certs) (CARD card, int idx, char **certid, int *certtype); int (*read_cert) (CARD card, const char *certidstr, unsigned char **cert, size_t *ncert); int (*sign) (CARD card, |
