Bugfix: wrong parameters were set in a call for formatResult
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@428 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -253,7 +253,7 @@ class Iso7816OS(SmartcardOS): # {{{
|
|||||||
c = C_APDU(msg)
|
c = C_APDU(msg)
|
||||||
except ValueError, e:
|
except ValueError, e:
|
||||||
print e
|
print e
|
||||||
return self.formatResult(0, 0, "", SW["ERR_INCORRECTPARAMETERS"])
|
return self.formatResult(0, "", SW["ERR_INCORRECTPARAMETERS"], False)
|
||||||
|
|
||||||
#Handle Class Byte{{{
|
#Handle Class Byte{{{
|
||||||
class_byte = c.cla
|
class_byte = c.cla
|
||||||
|
|||||||
Reference in New Issue
Block a user