[pkg-opensc-commit] [opensc] 37/50: pkcs15-starcert.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 343c0f8d57d4ca74eadfd161c220a845c264ef0f
Author: Frank Morgner <frankmorgner at gmail.com>
Date: Mon May 9 22:48:41 2016 +0200
pkcs15-starcert.c: Use two hex digits with sc_pkcs15_format_id
---
src/libopensc/pkcs15-starcert.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/libopensc/pkcs15-starcert.c b/src/libopensc/pkcs15-starcert.c
index 4e19e19..ba5741a 100644
--- a/src/libopensc/pkcs15-starcert.c
+++ b/src/libopensc/pkcs15-starcert.c
@@ -146,11 +146,11 @@ static int sc_pkcs15emu_starcert_init(sc_pkcs15_card_t *p15card)
};
const prdata prkeys[] = {
- { "1", "DS key", 1024, USAGE_NONREP, "3F00DF01",
+ { "01", "DS key", 1024, USAGE_NONREP, "3F00DF01",
0x84, "99", SC_PKCS15_CO_FLAG_PRIVATE},
- { "3", "KE key", 1024, USAGE_KE, "3F00DF01",
+ { "03", "KE key", 1024, USAGE_KE, "3F00DF01",
0x85, NULL, SC_PKCS15_CO_FLAG_PRIVATE},
- { "4", "AUT key", 1024, USAGE_AUT, "3F00DF01",
+ { "04", "AUT key", 1024, USAGE_AUT, "3F00DF01",
0x82, NULL, SC_PKCS15_CO_FLAG_PRIVATE},
{ NULL, NULL, 0, 0, NULL, 0, NULL, 0}
};
--
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