Diff

Differences From Artifact [9bef8e6303]:

To Artifact [6b8855e22d]:


  2938   2938   
  2939   2939   	bytes_to_copy = strlen(cackey_slots[slotID].pcsc_reader);
  2940   2940   	if (sizeof(pInfo->manufacturerID) < bytes_to_copy) {
  2941   2941   		bytes_to_copy = sizeof(pInfo->manufacturerID);
  2942   2942   	}
  2943   2943   	memcpy(pInfo->manufacturerID, cackey_slots[slotID].pcsc_reader, bytes_to_copy);
  2944   2944   
  2945         -	pInfo->flags = 0;
         2945  +	pInfo->flags = CKF_REMOVABLE_DEVICE;
  2946   2946   
  2947   2947   	if (cackey_token_present(&cackey_slots[slotID]) == CACKEY_PCSC_S_TOKENPRESENT) {
  2948   2948   		pInfo->flags |= CKF_TOKEN_PRESENT;
  2949   2949   	}
  2950   2950   
  2951   2951   	pInfo->hardwareVersion.major = (cackey_getversion() >> 16) & 0xff;
  2952   2952   	pInfo->hardwareVersion.minor = (cackey_getversion() >> 8) & 0xff;