Diff

Differences From Artifact [0b4cc0500a]:

To Artifact [8952b0e3fb]:


   128    128   		LPSCARDHANDLE hCard;
   129    129   		SCARDCONTEXT hContext;
   130    130   		DWORD dwActiveProtocol;
   131    131   		LONG scard_conn_ret, scard_est_context_ret;
   132    132   
   133    133   		scard_est_context_ret = SCardEstablishContext(SCARD_SCOPE_SYSTEM, NULL, NULL, &hContext);
   134    134   
   135         -		scard_conn_ret = SCardConnect(hContext, "Reader X", SCARD_SHARE_SHARED, SCARD_PROTOCOL_T0, &hCard, &dwActiveProtocol);
          135  +		hCard = NULL;
          136  +		scard_conn_ret = SCardConnect(hContext, "Reader X", SCARD_SHARE_SHARED, SCARD_PROTOCOL_T0, hCard, &dwActiveProtocol);
   136    137   	]]), [
   137    138   		AC_MSG_RESULT(okay)
   138    139   	], [
   139    140   		AC_MSG_RESULT(failed)
   140    141   
   141    142   		AC_MSG_FAILURE([simple PC/SC program failed])
   142    143   	]