[pkg-opensc-commit] [opensc] 36/50: pkcs15-pteid.c: Use two hex digits with sc_pkcs15_format_id
Eric Dorland
eric at moszumanska.debian.org
Sat May 28 03:35:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository opensc.
commit b568bbc256ba27df58b057ce6e2d5f5d18cffc1a
Author: Frank Morgner <frankmorgner at gmail.com>
Date: Mon May 9 22:48:41 2016 +0200
pkcs15-pteid.c: Use two hex digits with sc_pkcs15_format_id
---
src/libopensc/pkcs15-pteid.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libopensc/pkcs15-pteid.c b/src/libopensc/pkcs15-pteid.c
index 9f1132d..e3a1601 100644
--- a/src/libopensc/pkcs15-pteid.c
+++ b/src/libopensc/pkcs15-pteid.c
@@ -227,11 +227,11 @@ static int sc_pkcs15emu_pteid_init(sc_pkcs15_card_t * p15card)
/* Add objects */
for (i = 0; i < 3; i++) {
- static const char *object_ids[3] = {"1", "2", "3"};
+ static const char *object_ids[3] = {"01", "02", "03"};
static const char *object_labels[3] = {"Citizen Data",
"Citizen Address Data",
"Citizen Notepad"};
- static const char *object_authids[3] = {NULL, "3", "1"};
+ static const char *object_authids[3] = {NULL, "03", "01"};
static const char *object_paths[3] = {"3f005f00ef02",
"3f005f00ef05",
"3f005f00ef07"};
--
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