summaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/applet/AppletBase.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/cz/crcs/ectester/applet/AppletBase.java')
-rw-r--r--src/cz/crcs/ectester/applet/AppletBase.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cz/crcs/ectester/applet/AppletBase.java b/src/cz/crcs/ectester/applet/AppletBase.java
index 24272c5..4e488b5 100644
--- a/src/cz/crcs/ectester/applet/AppletBase.java
+++ b/src/cz/crcs/ectester/applet/AppletBase.java
@@ -873,6 +873,14 @@ public abstract class AppletBase extends Applet {
length += 2;
Util.setShort(buffer, (short) (offset + length), (short) (JCSystem.isObjectDeletionSupported() ? 1 : 0));
length += 2;
+ Util.setShort(buffer, (short) (offset + length), (short) buffer.length);
+ length += 2;
+ Util.setShort(buffer, (short) (offset + length), (short) ramArray.length);
+ length += 2;
+ Util.setShort(buffer, (short) (offset + length), (short) ramArray2.length);
+ length += 2;
+ Util.setShort(buffer, (short) (offset + length), (short) apduArray.length);
+ length += 2;
return length;
}
}