if SSAD present before check it (A@Pay)

This commit is contained in:
merlokk
2021-04-08 17:59:47 +03:00
parent a99a52f5a6
commit 2f634923bb
2 changed files with 16 additions and 12 deletions

View File

@@ -349,7 +349,7 @@ unsigned char *emv_pki_sdatl_fill(const struct tlvdb *db, size_t *sdatl_len) {
}
struct tlvdb *emv_pki_recover_dac_ex(const struct emv_pk *enc_pk, const struct tlvdb *db, const struct tlv *sda_tlv, bool showData) {
size_t data_len;
size_t data_len = 0;
// Static Data Authentication Tag List
size_t sdatl_len;