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

Diff of /trunk/OpenPGPminidriver/CardCryptographicOperations.c

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

revision 4 by vletoux, Tue Feb 23 19:18:59 2010 UTC revision 5 by vletoux, Tue Mar 2 18:54:34 2010 UTC
# Line 130  DWORD WINAPI CardSignData( Line 130  DWORD WINAPI CardSignData(
130                  {                  {
131                          __leave;                          __leave;
132                  }                  }
133                  dwReturn = SCardSign(pCardData, pInfo);                  switch(pInfo->bContainerIndex)
134                    {
135                    case Authentication:
136                            dwReturn = SCardAuthenticate(pCardData, pInfo);
137                            break;
138                    case Signature:
139                            dwReturn = SCardSign(pCardData, pInfo);
140                            break;
141                    default:
142                            dwReturn = SCARD_E_NO_KEY_CONTAINER;
143                            Trace(WINEVENT_LEVEL_ERROR, L"SCARD_E_NO_KEY_CONTAINER %d", pInfo->bContainerIndex);
144                            __leave;
145                    }
146          }          }
147          __finally          __finally
148          {          {

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26