move hardnested tables to resources/

This commit is contained in:
Philippe Teuwen
2019-08-30 09:02:01 +02:00
parent f227cebc3b
commit 2c853d94ea
362 changed files with 50 additions and 26 deletions

View File

@@ -486,7 +486,7 @@ struct emv_pk *emv_pk_get_ca_pk(const unsigned char *rid, unsigned char idx) {
}
*/
char *path;
if (searchFile(&path, RESOURCES_SUBDIR, "capk", ".txt") != PM3_SUCCESS) {
if (searchFile(&path, RESOURCES_SUBDIR, "capk", ".txt", false) != PM3_SUCCESS) {
return NULL;
}
pk = emv_pk_get_ca_pk_from_file(path, rid, idx);

View File

@@ -306,7 +306,7 @@ bool ParamLoadFromJson(struct tlvdb *tlv) {
}
char *path;
if (searchFile(&path, RESOURCES_SUBDIR, "emv_defparams", ".json") != PM3_SUCCESS) {
if (searchFile(&path, RESOURCES_SUBDIR, "emv_defparams", ".json", false) != PM3_SUCCESS) {
return false;
}
root = json_load_file(path, 0, &error);