diff --git a/hwb1/src/hwb1/MyApplet.java b/hwb1/src/hwb1/MyApplet.java index 6bd71a2..cdcc8de 100644 --- a/hwb1/src/hwb1/MyApplet.java +++ b/hwb1/src/hwb1/MyApplet.java @@ -127,7 +127,8 @@ public class MyApplet extends Applet { break; case 0x20: length = apdu.setIncomingAndReceive(); - pin.check(buffer, (short) ISO7816.OFFSET_CDATA, (byte)length); + pin.check(buffer, (short) ISO7816.OFFSET_CDATA, (byte)length); + break; default: ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED); break;