add pkcs15-syn support for infocamere card
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1782 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
02cbe02bc2
commit
d5697cfb6e
|
@ -28,7 +28,7 @@ libopensc_la_SOURCES = \
|
||||||
card-etoken.c card-tcos.c card-emv.c card-default.c \
|
card-etoken.c card-tcos.c card-emv.c card-default.c \
|
||||||
card-mcrd.c card-starcos.c card-openpgp.c card-jcop.c\
|
card-mcrd.c card-starcos.c card-openpgp.c card-jcop.c\
|
||||||
\
|
\
|
||||||
pkcs15-openpgp.c
|
pkcs15-openpgp.c pkcs15-infocamere.c
|
||||||
libopensc_la_LDFLAGS = -version-info @OPENSC_LT_CURRENT@:@OPENSC_LT_REVISION@:@OPENSC_LT_AGE@
|
libopensc_la_LDFLAGS = -version-info @OPENSC_LT_CURRENT@:@OPENSC_LT_REVISION@:@OPENSC_LT_AGE@
|
||||||
libopensc_la_LIBADD = @LIBSCCONF@ ../scdl/libscdl.la @LIBDL@ @LIBCRYPTO@ @OPENCT_LIBS@ @LIBPCSC@
|
libopensc_la_LIBADD = @LIBSCCONF@ ../scdl/libscdl.la @LIBDL@ @LIBCRYPTO@ @OPENCT_LIBS@ @LIBPCSC@
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ OBJECTS = \
|
||||||
card-etoken.obj card-tcos.obj card-emv.obj card-default.obj \
|
card-etoken.obj card-tcos.obj card-emv.obj card-default.obj \
|
||||||
card-mcrd.obj card-starcos.obj card-openpgp.obj card-jcop.obj \
|
card-mcrd.obj card-starcos.obj card-openpgp.obj card-jcop.obj \
|
||||||
\
|
\
|
||||||
pkcs15-openpgp.obj \
|
pkcs15-openpgp.obj pkcs15-infocamere.obj \
|
||||||
\
|
\
|
||||||
$(TOPDIR)\win32\version.res
|
$(TOPDIR)\win32\version.res
|
||||||
|
|
||||||
|
|
|
@ -30,12 +30,14 @@ static int sc_pkcs15_bind_emulation(sc_pkcs15_card_t *, const char *,
|
||||||
scconf_block *, int);
|
scconf_block *, int);
|
||||||
|
|
||||||
extern int sc_pkcs15emu_openpgp_init(sc_pkcs15_card_t *);
|
extern int sc_pkcs15emu_openpgp_init(sc_pkcs15_card_t *);
|
||||||
|
extern int sc_pkcs15emu_infocamere_init(sc_pkcs15_card_t *);
|
||||||
|
|
||||||
static struct {
|
static struct {
|
||||||
const char * name;
|
const char * name;
|
||||||
int (*handler)(sc_pkcs15_card_t *);
|
int (*handler)(sc_pkcs15_card_t *);
|
||||||
} builtin_emulators[] = {
|
} builtin_emulators[] = {
|
||||||
{ "openpgp", sc_pkcs15emu_openpgp_init },
|
{ "openpgp", sc_pkcs15emu_openpgp_init },
|
||||||
|
{ "infocamere", sc_pkcs15emu_infocamere_init },
|
||||||
|
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue