[p15dump] Error message with a reason for missing unusedSpace file
This commit is contained in:
parent
9066d8f999
commit
f52f6bb310
@ -69,8 +69,10 @@ static int dump_unusedspace(void)
|
||||
else if (p15card->file_app != NULL) {
|
||||
path = p15card->file_app->path;
|
||||
sc_append_path_id(&path, (const u8 *) "\x50\x33", 2);
|
||||
} else
|
||||
} else {
|
||||
printf("\nCan't find unused space file.\n");
|
||||
return -1;
|
||||
}
|
||||
path.count = -1;
|
||||
|
||||
r = sc_pkcs15_read_file(p15card, &path, &buf, &buf_len);
|
||||
|
Loading…
Reference in New Issue
Block a user