summaryrefslogtreecommitdiff
path: root/client/bankid.c
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2010-08-16 21:34:45 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2010-08-16 21:34:45 +0200
commit83016fd0d7821c84e46e1fc37c7669dfce8136a7 (patch)
tree01b8bc11aa7c2fa5e6a38ca948d751a8452faae6 /client/bankid.c
parent2cae57c2a491a943906f758543e5655a794e480b (diff)
downloadfribid-83016fd0d7821c84e46e1fc37c7669dfce8136a7.tar.gz
fribid-83016fd0d7821c84e46e1fc37c7669dfce8136a7.tar.bz2
fribid-83016fd0d7821c84e46e1fc37c7669dfce8136a7.zip
Merge Henrik Nordströms smartcard branch
Merge from commit 580da6270df61b973fd9ae8cd9aef046bb7e562d of http://github.com/hno/fribid.git
Diffstat (limited to 'client/bankid.c')
-rw-r--r--client/bankid.c20
1 files changed, 18 insertions, 2 deletions
diff --git a/client/bankid.c b/client/bankid.c
index a8ef9bb..6446eb8 100644
--- a/client/bankid.c
+++ b/client/bankid.c
@@ -49,8 +49,24 @@ static const char defaultEmulatedVersion[] = EMULATED_VERSION;
*/
static char *getVersionString() {
static const char template[] =
- "Personal=%1$s&libCardSiemens_so=%1$s&libBranding_so=%1$s&libP11_so=%1$s&libtokenapi_so=%1$s&libCardSetec_so=%1$s&libCardPrisma_so=%1$s&libplugins_so=%1$s&libai_so=%1$s&personal_bin=%1$s&"
- "platform=linux&distribution=ubuntu&os_version=unknown&best_before=%2$" PRId64 "&";
+ "Personal=%1$s&"
+ "libai_so=%1$s&"
+ "libP11_so=%1$s&"
+ "libtokenapi_so=%1$s&"
+ "libCardSiemens_so=%1$s&"
+ "libCardSetec_so=%1$s&"
+ "libCardPrisma_so=%1$s&"
+ "libBranding_so=%1$s&"
+ "libplugins_so=%1$s&"
+ "personal_bin=%1$s&"
+#if ENABLE_PKCS11
+ /* TODO: This should be generated from list of smartcards */
+ "SmartCard_Reader=Handelsbanken card reader [MCI_OSR_0205] 00 00&"
+#endif
+ "platform=linux&"
+ "distribution=unknown&"
+ "os_version=unknown&"
+ "best_before=%2$" PRId64 "&";
long lexpiry;
int64_t expiry;