nagyistoce / cardpeek

Automatically exported from code.google.com/p/cardpeek
Other
1 stars 0 forks source link

emv.lua #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Card without tag 82 or 94

Show error when card haven't tag 82 or 94.
-----
In code:
    tag_value_parse(ref2, 0x82, AIP, EMV_REFERENCE)
    tag_value_parse(ref2, 0x94, AFL, EMV_REFERENCE)

You need change the code for:
    if nodes.find_first(GPO,{id="82"}) then 
        tag_value_parse(ref2, 0x82, AIP, EMV_REFERENCE)
    end
    if  nodes.find_first(GPO,{id="94"}) then            
        tag_value_parse(ref2, 0x94, AFL, EMV_REFERENCE)
    end 

Original issue reported on code.google.com by carlosar...@gmail.com on 12 Feb 2015 at 12:44

GoogleCodeExporter commented 9 years ago
Thanks for the bug report.
Your proposed changes are now in the SVN.

Original comment by L...@gmx.com on 5 Mar 2015 at 9:34