Check-in [af692c90b0]
Overview
Comment:Initialized variables we pass into PC/SC
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:af692c90b026fe50fc34cd3c4712d4043f9d25b1
User & Date: rkeene on 2012-07-27 18:29:33
Other Links: manifest | tags
Context
2012-07-27
18:39
Moved computation of number of objects per DoD cert into the cackey_read_dod_identities() function check-in: 8a57ac5688 user: rkeene tags: trunk
18:29
Initialized variables we pass into PC/SC check-in: af692c90b0 user: rkeene tags: trunk
18:29
Removed extraneous parameter of cackey_read_dod_identities() check-in: e491e4b5f9 user: rkeene tags: trunk
Changes

Modified cackey.c from [c41337ffcb] to [c4124c11f6].

  2603   2603    *
  2604   2604    * NOTES
  2605   2605    *     ...
  2606   2606    *
  2607   2607    */
  2608   2608   static cackey_ret cackey_token_present(struct cackey_slot *slot) {
  2609   2609   	cackey_ret pcsc_connect_ret;
  2610         -	DWORD reader_len, state, protocol, atr_len;
         2610  +	DWORD reader_len = 0, state = 0, protocol = 0, atr_len;
  2611   2611   	BYTE atr[MAX_ATR_SIZE];
  2612   2612   	LONG status_ret, scard_reconn_ret;
  2613   2613   
  2614   2614   	CACKEY_DEBUG_PRINTF("Called.");
  2615   2615   
  2616   2616   	if (slot->internal) {
  2617   2617   		CACKEY_DEBUG_PRINTF("Returning token present (internal token)");