/[openpgpmdrv]/trunk/OpenPGPminidriver/SmartCard.c
ViewVC logotype

Diff of /trunk/OpenPGPminidriver/SmartCard.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5 by vletoux, Thu Feb 25 22:09:17 2010 UTC revision 6 by vletoux, Thu Mar 4 21:17:51 2010 UTC
# Line 138  DWORD SCardGetData(__in PCARD_DATA  pCar Line 138  DWORD SCardGetData(__in PCARD_DATA  pCar
138                          {                          {
139                                  dwDataSize = recvlen-2;                                  dwDataSize = recvlen-2;
140                                  *pbResponse = pCardData->pfnCspAlloc(dwDataSize);                                  *pbResponse = pCardData->pfnCspAlloc(dwDataSize);
141                                    if (! *pbResponse)
142                                    {
143                                            Trace(WINEVENT_LEVEL_ERROR, L"SCARD_E_NO_MEMORY");
144                                            dwReturn = SCARD_E_NO_MEMORY;
145                                            __leave;
146                                    }
147                                  memcpy(*pbResponse, recvbuf, dwDataSize);                                  memcpy(*pbResponse, recvbuf, dwDataSize);
148                          }                          }
149                          else if (SW1 == 0x61)                          else if (SW1 == 0x61)

Legend:
Removed from v.5  
changed lines
  Added in v.6

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26