pkcs15-starcert.c: Use two hex digits with sc_pkcs15_format_id
This commit is contained in:
parent
b568bbc256
commit
343c0f8d57
@ -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}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user