Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix for http://www.opensc-project.org/opensc/ticket/400.

  • Loading branch information...
commit 7ca81d6d15c5e2b137ff3c9a40b7471eb2fad55c 1 parent d505a55
João Poupino authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 src/libopensc/pkcs15-pteid.c
4 src/libopensc/pkcs15-pteid.c
@@ -149,7 +149,7 @@ static int sc_pkcs15emu_pteid_init(sc_pkcs15_card_t * p15card)
149 149 /* PIN Authentication IDs */
150 150 static const int pteid_pin_authid[3] = {1, 2, 3};
151 151 /* PIN Paths */
152   - static const char *pteid_pin_paths[2][3] = { {NULL, "3f005f00", NULL},
  152 + static const char *pteid_pin_paths[2][3] = { {NULL, "3f005f00", "3f005f00"},
153 153 {NULL, NULL, NULL} };
154 154 struct sc_pkcs15_auth_info pin_info;
155 155 struct sc_pkcs15_object pin_obj;
@@ -230,7 +230,7 @@ static int sc_pkcs15emu_pteid_init(sc_pkcs15_card_t * p15card)
230 230 static const char *object_labels[3] = {"Citizen Data",
231 231 "Citizen Address Data",
232 232 "Citizen Notepad"};
233   - static const char *object_authids[3] = {"3", "3", "1"};
  233 + static const char *object_authids[3] = {NULL, "3", "1"};
234 234 static const char *object_paths[3] = {"3f005f00ef02",
235 235 "3f005f00ef05",
236 236 "3f005f00ef07"};

0 comments on commit 7ca81d6

Please sign in to comment.
Something went wrong with that request. Please try again.