export sc_pkcs15_bind_internal

allows bootstrapping an external pkcs15 driver
This commit is contained in:
Frank Morgner 2015-04-04 03:02:54 +02:00 committed by Viktor Tarasov
parent 3e2d51e0ba
commit d7ab0df51d
3 changed files with 3 additions and 1 deletions

View File

@ -237,6 +237,7 @@ sc_pkcs15emu_add_ec_prkey
sc_pkcs15emu_add_ec_pubkey
sc_pkcs15emu_add_x509_cert
sc_pkcs15emu_object_add
sc_pkcs15_bind_internal
sc_print_path
sc_put_data
sc_read_binary

View File

@ -969,7 +969,7 @@ sc_pkcs15_get_application_by_type(struct sc_card * card, char *app_type)
}
static int
int
sc_pkcs15_bind_internal(struct sc_pkcs15_card *p15card, struct sc_aid *aid)
{
struct sc_path tmppath;

View File

@ -668,6 +668,7 @@ int sc_pkcs15_bind(struct sc_card *card, struct sc_aid *aid,
/* sc_pkcs15_unbind: Releases a PKCS #15 card object, and frees any
* memory allocations done on the card object. */
int sc_pkcs15_unbind(struct sc_pkcs15_card *card);
int sc_pkcs15_bind_internal(struct sc_pkcs15_card *p15card, struct sc_aid *aid);
int sc_pkcs15_get_objects(struct sc_pkcs15_card *card, unsigned int type,
struct sc_pkcs15_object **ret, size_t ret_count);