Diff

Differences From Artifact [b22c79f8b7]:

To Artifact [788bc7d9fe]:


  4733   4733   					free(cackey_slots[currslot].label);
  4734   4734   
  4735   4735   					cackey_slots[currslot].label = NULL;
  4736   4736   				}
  4737   4737   
  4738   4738   				cackey_slots[currslot].active = 0;
  4739   4739   			}
  4740         -		} else {
  4741         -			
  4742   4740   		}
  4743   4741   	}
  4744   4742   
  4745   4743   	/* Determine list of readers */
  4746   4744   	pcsc_connect_ret = cackey_pcsc_connect();
  4747         -/* XXX: CAN HANG HERE ! */
  4748   4745   	if (pcsc_connect_ret != CACKEY_PCSC_S_OK) {
  4749   4746   		CACKEY_DEBUG_PRINTF("Connection to PC/SC failed, assuming no hardware slots");
  4750   4747   	} else {
  4751   4748   		pcsc_readers_len = 0;
  4752   4749   
  4753   4750   		scard_listreaders_ret = SCardListReaders(*cackey_pcsc_handle, NULL, NULL, &pcsc_readers_len);
  4754   4751