Add missing break statement

This commit is contained in:
Manuel Thalmann 2023-10-24 23:22:42 +02:00
parent 7a616f49bc
commit 0633e5c767

View file

@ -127,7 +127,8 @@ public class MyApplet extends Applet {
break; break;
case 0x20: case 0x20:
length = apdu.setIncomingAndReceive(); length = apdu.setIncomingAndReceive();
pin.check(buffer, (short) ISO7816.OFFSET_CDATA, (byte)length); pin.check(buffer, (short) ISO7816.OFFSET_CDATA, (byte)length);
break;
default: default:
ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED); ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
break; break;