Diff

Differences From Artifact [c41337ffcb]:

To Artifact [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)");