Diff

Differences From Artifact [d345cec881]:

To Artifact [f720f246a4]:


  1658   1658   	CACKEY_DEBUG_PRINTF("APDU Returned an error, returning in failure");
  1659   1659   
  1660   1660   	return(CACKEY_PCSC_E_GENERIC);
  1661   1661   }
  1662   1662   
  1663   1663   /*
  1664   1664    * SYNPOSIS
  1665         - *     ssize_t cackey_get_data(struct cackey_slot *slot, unsigned char *buffer, size_t count, ....
         1665  + *     ssize_t cackey_get_data(struct cackey_slot *slot, unsigned char *buffer, size_t count, unsigned char oid[3]);
  1666   1666    *
  1667   1667    * ARGUMENTS
  1668   1668    *     struct cackey_slot *slot
  1669   1669    *         Slot to send commands to
  1670   1670    *
  1671   1671    *     unsigned char *buffer
  1672   1672    *         [OUT] Buffer
  1673   1673    *
  1674   1674    *     size_t count
  1675   1675    *         Number of bytes to attempt to read
  1676   1676    *
  1677         - *     size_t initial_offset
  1678         - *         Specify the offset to begin the read from
         1677  + *     unsigned char oid[3]
         1678  + *         3-byte OID to read
  1679   1679    *
  1680   1680    *
  1681   1681    * RETURN VALUE
  1682   1682    *     This function returns the number of bytes actually read, or -1 on error.
  1683   1683    *
  1684   1684    * NOTES
  1685   1685    *     None