[pkg-opensc-commit] [opensc] 13/295: [p15dump] Error message with a reason for missing unusedSpace file
Eric Dorland
eric at moszumanska.debian.org
Sat Jun 24 21:11:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository opensc.
commit f52f6bb310d668e01fb8c66a97520c1e82616c90
Author: Jakub Jelen <jjelen at redhat.com>
Date: Mon May 23 16:52:09 2016 +0200
[p15dump] Error message with a reason for missing unusedSpace file
---
src/tests/p15dump.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/tests/p15dump.c b/src/tests/p15dump.c
index e99919f..17ab86b 100644
--- a/src/tests/p15dump.c
+++ b/src/tests/p15dump.c
@@ -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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git
More information about the pkg-opensc-commit
mailing list