Skip to content

Commit

Permalink
added some files to xcode project
Browse files Browse the repository at this point in the history
  • Loading branch information
rorothetroll committed Oct 24, 2010
1 parent 0608e40 commit 81ea917
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions OSCam.xcodeproj/project.pbxproj
Expand Up @@ -7,8 +7,8 @@
objects = {

/* Begin PBXFileReference section */
9348D819126BE60B0090C25C /* oscam-datastruct-llist.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "oscam-datastruct-llist.c"; sourceTree = "<group>"; };
9348D81A126BE60B0090C25C /* oscam-datastruct-llist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "oscam-datastruct-llist.h"; sourceTree = "<group>"; };
9348D96B12732B380090C25C /* module-datastruct-llist.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "module-datastruct-llist.c"; sourceTree = "<group>"; };
9348D96C12732B380090C25C /* module-datastruct-llist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "module-datastruct-llist.h"; sourceTree = "<group>"; };
93B819DB124D484C00E9DF68 /* aes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = aes.h; path = /usr/src/Dev/oscam/trunk/cscrypt/aes/aes.h; sourceTree = "<absolute>"; };
93B819DC124D484C00E9DF68 /* aes_core.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = aes_core.c; path = /usr/src/Dev/oscam/trunk/cscrypt/aes/aes_core.c; sourceTree = "<absolute>"; };
93B819DD124D484C00E9DF68 /* bn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bn.h; path = /usr/src/Dev/oscam/trunk/cscrypt/bn.h; sourceTree = "<absolute>"; };
Expand Down Expand Up @@ -198,6 +198,8 @@
93B81A55124D484C00E9DF68 /* module-cccam.c */,
93B81A56124D484C00E9DF68 /* module-cccam.h */,
93B81A57124D484C00E9DF68 /* module-constcw.c */,
9348D96B12732B380090C25C /* module-datastruct-llist.c */,
9348D96C12732B380090C25C /* module-datastruct-llist.h */,
93B81A58124D484C00E9DF68 /* module-dvbapi.c */,
93B81A59124D484C00E9DF68 /* module-dvbapi.h */,
93B81A5A124D484C00E9DF68 /* module-monitor.c */,
Expand All @@ -213,8 +215,6 @@
93B81A69124D484C00E9DF68 /* oscam-chk.c */,
93B81A6A124D484C00E9DF68 /* oscam-config.c */,
93B81A6B124D484C00E9DF68 /* oscam-config.h */,
9348D819126BE60B0090C25C /* oscam-datastruct-llist.c */,
9348D81A126BE60B0090C25C /* oscam-datastruct-llist.h */,
93B81A6C124D484C00E9DF68 /* oscam-http-helpers.c */,
93B81A6D124D484C00E9DF68 /* oscam-http.c */,
93B81A6E124D484C00E9DF68 /* oscam-http.h */,
Expand Down
4 changes: 2 additions & 2 deletions csctapi/ifd_pcsc.c
Expand Up @@ -110,12 +110,12 @@ int pcsc_reader_do_api(struct s_reader *pcsc_reader, const uchar *buf, uchar *ct
else
dwSendLength = l-1;
cs_debug("sending %d bytes to PCSC", dwSendLength);
rv = SCardTransmit(pcsc_reader->hCard, SCARD_PCI_T0, buf, dwSendLength, &pioRecvPci, (LPBYTE) cta_res, &dwRecvLength);
rv = SCardTransmit(pcsc_reader->hCard, SCARD_PCI_T0, (LPCBYTE) buf, dwSendLength, &pioRecvPci, (LPBYTE) cta_res, (LPDWORD) &dwRecvLength);
}
else if(pcsc_reader->dwActiveProtocol == SCARD_PROTOCOL_T1) {
dwSendLength = l;
cs_debug("sending %d bytes to PCSC", dwSendLength);
rv = SCardTransmit(pcsc_reader->hCard, SCARD_PCI_T1, buf, dwSendLength, &pioRecvPci, (LPBYTE) cta_res, &dwRecvLength);
rv = SCardTransmit(pcsc_reader->hCard, SCARD_PCI_T1, (LPCBYTE) buf, dwSendLength, &pioRecvPci, (LPBYTE) cta_res, (LPDWORD) &dwRecvLength);
}
else {
cs_debug("PCSC invalid protocol (T=%d)", pcsc_reader->dwActiveProtocol);
Expand Down

0 comments on commit 81ea917

Please sign in to comment.