mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Some minor bug fixes, new test utilities and started support for other
smartcard applications.
This commit is contained in:
parent
203e1cc272
commit
eb24d8b751
33 changed files with 3862 additions and 278 deletions
|
@ -53,7 +53,10 @@ map_sc_err (int rc)
|
|||
#endif
|
||||
default: e = GPG_ERR_CARD; break;
|
||||
}
|
||||
return gpg_err_make (GPG_ERR_SOURCE_UNKNOWN, e);
|
||||
/* It does not make much sense to further distingusih the error
|
||||
source between OpenSC and SCD. Thus we use SCD as source
|
||||
here. */
|
||||
return gpg_err_make (GPG_ERR_SOURCE_SCD, e);
|
||||
}
|
||||
|
||||
/* Get the keygrip from CERT, return 0 on success */
|
||||
|
@ -462,6 +465,7 @@ card_enum_keypairs (CARD card, int idx,
|
|||
100 := Regular X.509 cert
|
||||
101 := Trusted X.509 cert
|
||||
102 := Useful X.509 cert
|
||||
110 := Root CA cert (DINSIG)
|
||||
*/
|
||||
int
|
||||
card_enum_certs (CARD card, int idx, char **certid, int *certtype)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue