diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-01-18 16:36:18 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-01-18 16:36:18 +0000 |
commit | 7082e7551d87c8406625fff7fcba834e68818c13 (patch) | |
tree | 3b9338ad2a47a8d5559b02457f536950a7835da8 /smcc/src/main/java | |
parent | f176e1dec1a2da260f76bc636246fd7c2f8220ae (diff) | |
download | mocca-7082e7551d87c8406625fff7fcba834e68818c13.tar.gz mocca-7082e7551d87c8406625fff7fcba834e68818c13.tar.bz2 mocca-7082e7551d87c8406625fff7fcba834e68818c13.zip |
Typo?
According to spec, highest bit set to 1 means system unit=byte
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1007 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smcc/src/main/java')
-rw-r--r-- | smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java b/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java index 1ca28242..d7fdc17f 100644 --- a/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java +++ b/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java @@ -551,7 +551,7 @@ public class PinpadCardReader extends DefaultCardReader { s.write((0xF & apduSpec.getPinLengthSize()) << 4 | (0xF & apduSpec.getPinLength())); // bmPINLengthFormat - s.write(// system unit = bit + s.write(// system unit = byte (0xF & apduSpec.getPinLengthPos())); // wPINMaxExtraDigit (little endian) s.write(Math.min(pinSpec.getMaxLength(), wPINMaxExtraDigitMax)); // max PIN length |