Diff

Differences From Artifact [4922b8062e]:

To Artifact [95e7747218]:


  1317   1317   	}
  1318   1318   
  1319   1319   	CACKEY_DEBUG_PRINTF("PIN Verification succeeded");
  1320   1320   
  1321   1321   	return(CACKEY_PCSC_S_OK);
  1322   1322   }
  1323   1323   
  1324         -/* Returns 1 if a token is in the specified slot, 0 otherwise */
  1325   1324   static cackey_ret cackey_token_present(struct cackey_slot *slot) {
  1326   1325   	unsigned char ccc_aid[] = {GSCIS_AID_CCC};
  1327   1326   	int send_ret;
  1328   1327   
  1329   1328   	/* Select the CCC Applet */
  1330   1329   	send_ret = cackey_select_applet(slot, ccc_aid, sizeof(ccc_aid));
  1331   1330   	if (send_ret != CACKEY_PCSC_S_OK) {