select_esteid_df is only used in card-mcrd.c
Signed-off-by: Raul Metsma <raul@metsma.ee>
This commit is contained in:
parent
f37a8a5c52
commit
c2cc83754e
|
@ -284,6 +284,16 @@ static int is_esteid_card(sc_card_t *card)
|
|||
return card->type == SC_CARD_TYPE_MCRD_ESTEID_V30 ? 1 : 0;
|
||||
}
|
||||
|
||||
static int select_esteid_df(sc_card_t * card)
|
||||
{
|
||||
int r;
|
||||
sc_path_t tmppath;
|
||||
sc_format_path ("3F00EEEE", &tmppath);
|
||||
r = sc_select_file (card, &tmppath, NULL);
|
||||
LOG_TEST_RET(card->ctx, r, "esteid select DF failed");
|
||||
return r;
|
||||
}
|
||||
|
||||
static int mcrd_match_card(sc_card_t * card)
|
||||
{
|
||||
int i = 0, r = 0;
|
||||
|
|
|
@ -28,5 +28,4 @@ enum {
|
|||
|
||||
#define SC_ESTEID_KEYREF_FILE_RECLEN 21
|
||||
|
||||
int select_esteid_df(sc_card_t * card);
|
||||
#endif
|
||||
|
|
|
@ -46,17 +46,6 @@ set_string (char **strp, const char *value)
|
|||
}
|
||||
|
||||
|
||||
int
|
||||
select_esteid_df (sc_card_t * card)
|
||||
{
|
||||
int r;
|
||||
sc_path_t tmppath;
|
||||
sc_format_path ("3F00EEEE", &tmppath);
|
||||
r = sc_select_file (card, &tmppath, NULL);
|
||||
LOG_TEST_RET(card->ctx, r, "esteid select DF failed");
|
||||
return r;
|
||||
}
|
||||
|
||||
static int
|
||||
sc_pkcs15emu_esteid_init (sc_pkcs15_card_t * p15card)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue