copy'n'error
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@196 f711b948-2313-0410-aaa9-d29f33439f0b
This commit is contained in:
parent
913e09a14e
commit
50c9be2b50
|
@ -160,7 +160,7 @@ def fingerprint(card):
|
||||||
if standard_and_name[3:] == "\x00" * (len(standard_and_name)-3):
|
if standard_and_name[3:] == "\x00" * (len(standard_and_name)-3):
|
||||||
return "1:%s" % binascii.b2a_hex(standard_and_name[:3]) # RFU bytes unset
|
return "1:%s" % binascii.b2a_hex(standard_and_name[:3]) # RFU bytes unset
|
||||||
else:
|
else:
|
||||||
return "2:%s" % binascii.b2a_hex(standard_and_name[:3]) # RFU bytes set
|
return "2:%s" % binascii.b2a_hex(standard_and_name) # RFU bytes set
|
||||||
|
|
||||||
return "0:%s" % binascii.b2a_hex(atr[4:])
|
return "0:%s" % binascii.b2a_hex(atr[4:])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue