From 0633e5c7671329357c9b030bda1dbc9de94dc28a Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 24 Oct 2023 23:22:42 +0200 Subject: [PATCH] Add missing `break` statement --- hwb1/src/hwb1/MyApplet.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;