Check-in [b512a6df69]
Overview
SHA1:b512a6df699c7023e3079dc5ef235c8d1b0100ec
Date: 2016-02-26 18:35:01
User: rkeene
Comment:Corrected typo in debug message
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-02-26
18:36
[dc38d00e61] Updated to supply a pioRecvPci parameter to SCardTransmit(), needed by Google's PCSC implementation (user: rkeene, tags: trunk)
18:35
[b512a6df69] Corrected typo in debug message (user: rkeene, tags: trunk)
18:23
[fa6376b98d] ChromeOS: Renamed output from "cackey.crx" to "cackey.zip", which gets uploaded to the Chrome Web Store (user: rkeene, tags: trunk)
Changes

Modified cackey.c from [6db8eb96eb] to [efec2691f8].

  3370   3370   
  3371   3371   	CACKEY_DEBUG_PRINTF("Calling SCardStatus() to determine card status");
  3372   3372   
  3373   3373   	atr_len = sizeof(atr);
  3374   3374   	status_ret = SCardStatus(slot->pcsc_card, NULL, &reader_len, &state, &protocol, atr, &atr_len);
  3375   3375   
  3376   3376   	if (status_ret == SCARD_E_INVALID_HANDLE) {
  3377         -		CACKEY_DEBUG_PRINTF("SCardStatus() returned SCARD_E_INVALID_HANDLE, marking is not already connected and trying again");
         3377  +		CACKEY_DEBUG_PRINTF("SCardStatus() returned SCARD_E_INVALID_HANDLE, marking as not already connected and trying again");
  3378   3378   		cackey_mark_slot_reset(slot);
  3379   3379   
  3380   3380   		pcsc_connect_ret = cackey_connect_card(slot);
  3381   3381   		if (pcsc_connect_ret != CACKEY_PCSC_S_OK) {
  3382   3382   			CACKEY_DEBUG_PRINTF("Unable to connect to card, returning token absent");
  3383   3383   
  3384   3384   			return(CACKEY_PCSC_E_TOKENABSENT);