okir
faf95af460
- makefile cleanups
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@944 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-10 11:44:16 +00:00
sth
ca6a27e429
remove/insert fix: restore the slot->reader in slot_token_removed
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@943 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-07 14:18:55 +00:00
sth
4dd322f82a
Corrections/additions for compiling with OpenSSL on Windows
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@942 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-06 12:13:48 +00:00
sth
bca885ff86
Compile with /MD (multithreaded) instead of /ML
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@941 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-06 12:08:36 +00:00
sth
faa73e5827
bug fix in sc_connect_card: only the first ATR in a config file was accepted
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@940 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-04 15:47:05 +00:00
okir
f5ac3cd8ab
- fixed ATR
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@939 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-04 09:38:23 +00:00
sth
c097704149
added error msg SC_ERROR_KEYPAD_TIMEOUT
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@938 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-03 21:07:42 +00:00
okir
66a8076baa
- more robust handling of concurrent WaitForSlotEvent vs Finalize
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@937 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-03 13:07:28 +00:00
sth
32f532a782
fix: clear the CK_SLOT_INFO flags in slot_token_removed
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@936 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-03 13:03:59 +00:00
sth
a2ff6d66b4
take the last 8 bytes of the card as the pkcs11 serialNumber
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@935 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-28 15:16:56 +00:00
sth
0036545ffa
fix in C_GetSlotInfo that previously cleared the slotDescription and didnt clear the CKF_TOKEN_PRESENT flag
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@934 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-28 12:47:32 +00:00
okir
e13720e391
- renamed connect() to open_reader_and_card()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@933 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-28 11:07:37 +00:00
sth
9fe5baa4b7
added error code CKR_PIN_INVALID
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@932 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-26 07:27:42 +00:00
sth
5c1ae16ac8
fixed wrong return value in C_Finalize
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@931 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-23 20:10:24 +00:00
sth
49760f9cfb
fixed some thread dead-lock bugs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@930 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-23 19:38:50 +00:00
okir
9173c9934e
- new pkcs15 object creation stuff
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@929 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-23 17:50:33 +00:00
sth
0529d27e3f
buf fix in sc_connect_card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@928 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-22 21:27:35 +00:00
sth
d9e99b0e17
little fix in C_GetInfo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@927 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-21 15:40:06 +00:00
okir
33133a8d5a
- prevent compiler warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@926 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-21 12:47:30 +00:00
sth
b0a8b1a26a
extra check in C_Logout
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@925 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-21 12:29:14 +00:00
sth
252cbd51d2
login should return CKR_ARGUMENTS_BAD if wrong pin length
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@924 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-21 12:27:24 +00:00
sth
66f7de9378
removed unnecessary debugging
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@923 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 23:20:08 +00:00
sth
a7a5701e0c
added support for max pin length
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@922 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 23:19:01 +00:00
sth
a69a309c6e
NULL_PTR check added
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@921 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 18:55:35 +00:00
sth
4d4920b661
Let C_FindObjectsInit return correctly
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@920 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 18:54:52 +00:00
sth
213941af28
little fix of the previous commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@919 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 13:03:15 +00:00
sth
9631ef3636
removed const in sc_card_driver (caused win32 crash)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@918 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 12:51:07 +00:00
sth
b75ea0a0b2
more parameter checks + fix in previous checks
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@917 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-19 21:10:39 +00:00
sth
958658102d
added check for NULL pointers and uninitialized pkcs11 lib
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@916 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-19 13:44:36 +00:00
sth
57954682fd
added error: unresponsive card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@915 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-19 13:36:58 +00:00
sth
c05cef9678
correct behaviour of C_GetSlotInfo at empty slots
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@914 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-17 16:53:49 +00:00
okir
870d9d9f66
- made card_detect() available to everyone
...
- C_GetSlotInfo now always does card detection, but only for the
reader which which the slot is associated
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@913 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-17 14:57:51 +00:00
okir
cf6037314f
- Introduce locks around all pkcs11 operations, in case the caller
...
is multithreaded and wants to access us from different threads.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@912 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-17 14:21:38 +00:00
sth
5265456cab
some cleared messages
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@911 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-17 11:09:24 +00:00
okir
4ffba35b5e
- fixed change/unblock pin for GPK
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@910 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-16 20:25:41 +00:00
sth
e1f4108c33
added error code CKR_USER_NOT_LOGGED_IN
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@909 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-16 18:09:10 +00:00
sth
58985e51c2
reset first_free_slot during C_Initialize
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@908 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-14 16:59:23 +00:00
sth
d944d91714
added the CKR_DEVICE_REMOVED return code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@907 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-12 14:20:53 +00:00
sth
0b9c44172d
get the right error code on card removal
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@906 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-12 14:20:00 +00:00
sth
7dcf350d7b
added p11 error CKR_PIN_LOCKED
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@905 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-11 10:38:43 +00:00
okir
23d686576e
- fixed minor compile warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@904 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-10 14:08:54 +00:00
okir
1c66025798
- Each reader now gets a fixed range of slots
...
- Each slot now shows the reader name in the description field
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@903 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-10 14:08:29 +00:00
sth
a2b9838bb1
added locking to sc_pkcs15_decipher and sc_pkcs15_compute_signature
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@902 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-06 14:46:57 +00:00
okir
8160bf64a1
- fixed typo in previous patch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@901 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-05 15:43:51 +00:00
okir
d1a122ce3b
- fixed typo in previous patch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@900 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-05 15:39:44 +00:00
okir
af6cfb5537
- Support Belgian eID - be less pedantic about the AID listed in EF(DIR)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@899 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-05 14:45:48 +00:00
sth
0e691fb13e
added support for pin pad readers + change pin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@898 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-05 13:55:22 +00:00
okir
4ff3821a0a
- suppress bogus insertion events
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@897 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-03 12:32:43 +00:00
okir
f71e2b0c5e
- Added test for WaitForSlotEvent
...
- fixed a bunch of compiler warnings
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@896 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-03 12:23:05 +00:00
okir
5276bbb1c4
- merged Stef's WaitForSlotEvent patches
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@895 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-03 12:20:54 +00:00