From b7bdc3da88c4d00d3755dc10909fadb523d59bf1 Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Wed, 5 Sep 2012 09:36:53 +0200 Subject: [PATCH] fixed maximum value for le = 00 [00 [00]] --- .../src/vpicc/virtualsmartcard/ConstantDefinitions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtualsmartcard/src/vpicc/virtualsmartcard/ConstantDefinitions.py b/virtualsmartcard/src/vpicc/virtualsmartcard/ConstantDefinitions.py index 450534f..70480b5 100644 --- a/virtualsmartcard/src/vpicc/virtualsmartcard/ConstantDefinitions.py +++ b/virtualsmartcard/src/vpicc/virtualsmartcard/ConstantDefinitions.py @@ -16,8 +16,8 @@ # You should have received a copy of the GNU General Public License along with # virtualsmartcard. If not, see . -MAX_SHORT_LE = 0xff -MAX_EXTENDED_LE = 0xffff +MAX_SHORT_LE = 0xff+1 +MAX_EXTENDED_LE = 0xffff+1 # Life cycle status byte LCB = {}