[Pcsclite-cvs-commit] Drivers/ccid/src/openct proto-t1.c,1.6,1.7 proto-t1.h,1.3,1.4
rousseau@haydn.debian.org
rousseau@haydn.debian.org
Update of /cvsroot/pcsclite/Drivers/ccid/src/openct
In directory haydn:/tmp/cvs-serv23647/openct
Modified Files:
proto-t1.c proto-t1.h
Log Message:
in t1_transceive() and t1_negociate_ifsd() dad argument is unsigned.
Index: proto-t1.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/openct/proto-t1.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- proto-t1.c 15 Jul 2004 08:24:37 -0000 1.6
+++ proto-t1.c 15 Jul 2004 09:19:11 -0000 1.7
@@ -161,7 +161,7 @@
* Send an APDU through T=1
*/
int
-t1_transceive(t1_state_t *t1, int dad,
+t1_transceive(t1_state_t *t1, unsigned int dad,
const void *snd_buf, size_t snd_len,
void *rcv_buf, size_t rcv_len)
{
@@ -649,7 +649,7 @@
}
int
-t1_negociate_ifsd(t1_state_t *t1, int dad, int ifsd)
+t1_negociate_ifsd(t1_state_t *t1, unsigned int dad, int ifsd)
{
ct_buf_t sbuf;
unsigned char sdata[T1_BUFFER_SIZE];
Index: proto-t1.h
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/openct/proto-t1.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- proto-t1.h 10 Jul 2004 13:23:12 -0000 1.3
+++ proto-t1.h 15 Jul 2004 09:19:11 -0000 1.4
@@ -61,13 +61,13 @@
unsigned char previous_block[4]; /* to store the last R-block */
} t1_state_t;
-int t1_transceive(t1_state_t *t1, int dad,
+int t1_transceive(t1_state_t *t1, unsigned int dad,
const void *snd_buf, size_t snd_len,
void *rcv_buf, size_t rcv_len);
int t1_init(t1_state_t *t1);
void t1_release(t1_state_t *t1);
int t1_set_param(t1_state_t *t1, int type, long value);
-int t1_negociate_ifsd(t1_state_t *t1, int dad, int ifsd);
+int t1_negociate_ifsd(t1_state_t *t1, unsigned int dad, int ifsd);
#endif