Overview
Comment: | Added basic stub for adding support for checking if LOGIN_REQUIRED is needed |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | require-login-if-needed |
Files: | files | file ages | folders |
SHA1: |
6db637b2046c57faaefe56d1a8d223ce |
User & Date: | rkeene on 2012-07-24 15:55:06 |
Other Links: | branch diff | manifest | tags |
Context
2015-05-04
| ||
16:02 | Merged in trunk check-in: 6938f7a82c user: rkeene tags: require-login-if-needed | |
2012-07-24
| ||
15:55 | Added basic stub for adding support for checking if LOGIN_REQUIRED is needed check-in: 6db637b204 user: rkeene tags: require-login-if-needed | |
2012-07-22
| ||
15:55 | Create new branch named "require-login-if-needed" check-in: 459f215faf user: rkeene tags: require-login-if-needed | |
Changes
Modified cackey.c from [1be2f8a22e] to [711a90f529].
︙ | |||
833 834 835 836 837 838 839 840 841 842 843 844 845 846 | 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 | + + + + | CACKEY_DEBUG_PRINTF("Returning 0x%lx", retval); return(retval); } /* PC/SC Related Functions */ static cackey_ret cackey_login_required(struct cackey_slot *slot) { return(CACKEY_PCSC_E_NEEDLOGIN); } /* * SYNPOSIS * void cackey_slots_disconnect_all(void); * * ARGUMENTS * None * |
︙ | |||
1002 1003 1004 1005 1006 1007 1008 | 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 | - + + + - + + + + + + + + + + + + + | } /* * SYNPOSIS * void cackey_mark_slot_reset(struct cackey_slot *slot); * * ARGUMENTS |
︙ | |||
2394 2395 2396 2397 2398 2399 2400 | 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 | - - | /* End transaction */ cackey_end_transaction(slot); if (respcode == 0x6982) { CACKEY_DEBUG_PRINTF("Security status not satisified. Returning NEEDLOGIN"); cackey_mark_slot_reset(slot); |
︙ | |||
3732 3733 3734 3735 3736 3737 3738 | 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 | - - + | /* Only update the list of slots if we are actually being asked supply the slot information */ if (pSlotList) { cackey_slots[currslot].active = 1; cackey_slots[currslot].pcsc_reader = strdup(pcsc_readers); cackey_slots[currslot].pcsc_card_connected = 0; cackey_slots[currslot].transaction_depth = 0; cackey_slots[currslot].transaction_need_hw_lock = 0; |
︙ |