[Pcsclite-cvs-commit] Drivers/ccid/src/openct proto-t1.c,1.4,1.5

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/Drivers/ccid/src/openct
In directory haydn:/tmp/cvs-serv27319/openct

Modified Files:
	proto-t1.c 
Log Message:
change "previous_block[1]" in "previous_block[PCB]"


Index: proto-t1.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/openct/proto-t1.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- proto-t1.c	10 Jul 2004 13:32:15 -0000	1.4
+++ proto-t1.c	10 Jul 2004 13:46:20 -0000	1.5
@@ -202,7 +202,7 @@
 				goto resync;
 
 			/* ISO 7816-3 Rule 7.2 */
-			if (T1_R_BLOCK == t1_block_type(t1->previous_block[1]))
+			if (T1_R_BLOCK == t1_block_type(t1->previous_block[PCB]))
 			{
 				DEBUG_COMM("Rule 7.2");
 				slen = t1_rebuild(t1, sdata);
@@ -229,7 +229,7 @@
 				goto resync;
 
 			/* ISO 7816-3 Rule 7.2 */
-			if (T1_R_BLOCK == t1_block_type(t1->previous_block[1]))
+			if (T1_R_BLOCK == t1_block_type(t1->previous_block[PCB]))
 			{
 				DEBUG_COMM("Rule 7.2");
 				slen = t1_rebuild(t1, sdata);
@@ -248,7 +248,7 @@
 				goto resync;
 
 			/* ISO 7816-3 Rule 7.2 */
-			if (T1_R_BLOCK == t1_block_type(t1->previous_block[1]))
+			if (T1_R_BLOCK == t1_block_type(t1->previous_block[PCB]))
 			{
 				DEBUG_COMM("Rule 7.2");
 				slen = t1_rebuild(t1, sdata);
@@ -281,14 +281,14 @@
 					t1_seq(pcb), t1->ns, t1->more);
 
 				/* ISO 7816-3 Rule 7.2 */
-				if (T1_R_BLOCK == t1_block_type(t1->previous_block[1]))
+				if (T1_R_BLOCK == t1_block_type(t1->previous_block[PCB]))
 				{
 					DEBUG_COMM("Rule 7.2");
 					slen = t1_rebuild(t1, sdata);
 					continue;
 				}
 
-				if (T1_I_BLOCK == t1_block_type(t1->previous_block[1]))
+				if (T1_I_BLOCK == t1_block_type(t1->previous_block[PCB]))
 				{
 					DEBUG_COMM("repeat I-Block");
 					slen = t1_build(t1, sdata, dad, T1_I_BLOCK,
@@ -387,7 +387,7 @@
 					goto resync;
 
 				/* ISO 7816-3 Rule 7.2 */
-				if (T1_R_BLOCK == t1_block_type(t1->previous_block[1]))
+				if (T1_R_BLOCK == t1_block_type(t1->previous_block[PCB]))
 				{
 					DEBUG_COMM("Rule 7.2");
 					slen = t1_rebuild(t1, sdata);