Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm32/shark The T0 byte must not be included in the...
details: https://anonhg.NetBSD.org/src/rev/b7d4c34b8949
branches: trunk
changeset: 482061:b7d4c34b8949
user: kristerw <kristerw%NetBSD.org@localhost>
date: Sat Feb 12 22:40:12 2000 +0000
description:
The T0 byte must not be included in the TCK calculation (ISO/IEC 7816-3
chapter 6.4.5)
diffstat:
sys/arch/arm32/shark/scr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1842ea1897aa -r b7d4c34b8949 sys/arch/arm32/shark/scr.c
--- a/sys/arch/arm32/shark/scr.c Sat Feb 12 22:06:54 2000 +0000
+++ b/sys/arch/arm32/shark/scr.c Sat Feb 12 22:40:12 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scr.c,v 1.4 1998/07/04 22:18:20 jonathan Exp $ */
+/* $NetBSD: scr.c,v 1.5 2000/02/12 22:40:12 kristerw Exp $ */
/*
* Copyright 1997
@@ -2898,7 +2898,7 @@
}
else
{
- tck = sc->pIoctlOn->atrBuf[0];
+ tck = 0;
for (lc = 1; lc < sc->pIoctlOn->atrLen-1; lc++)
{
tck ^= sc->pIoctlOn->atrBuf[lc];
Home |
Main Index |
Thread Index |
Old Index