Check-in [b0c5c2ea32]
Overview
Comment:Corrected PC/SC test
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b0c5c2ea328488f8b493585f33da29c9d2c4e039
User & Date: rkeene on 2012-07-19 05:29:19
Other Links: manifest | tags
Context
2012-07-19
05:39
Subversion to Fossil Copy Commit. Please Ignore. Recording copying build/cackey_win32_build/include/pthread.h to build/cackey_win64_build/include/pthread.h. check-in: 5bd5ef312f user: rkeene tags: trunk
05:29
Corrected PC/SC test check-in: b0c5c2ea32 user: rkeene tags: trunk
05:19
Updated to deal with newer versions of mingw32 check-in: d0b5ea65f9 user: rkeene tags: trunk
Changes

Modified configure.ac from [0b4cc0500a] to [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   	]