resplen is a pointer and we want its value

This commit is contained in:
iceman1001 committed 2021-05-22 07:36:14 +02:00
1 parent 395ce7da79
commit 326d2cf5d3
1 file changed
+1 -1
+1 -1
View File
@@ -1969,7 +1969,7 @@ static int handler_desfire_getvalue(mfdes_value_t *value, uint32_t *resplen, uin
DropFieldDesfire();
return res;
}
size_t dlen = (size_t)resplen;
size_t dlen = (size_t)*resplen;
p = mifare_cryto_postprocess_data(tag, value->value, &dlen, cs | CMAC_COMMAND | CMAC_VERIFY | MAC_VERIFY);
(void)p;
return res;