Permalink
Browse files

src/tools/pkcs15-tool.c: Small fix to the previous security vulnerabi…

…lity to remove a strict check for the default card label.
  • Loading branch information...
zedinosaur committed Aug 30, 2008
1 parent dbc736e commit a85b848b94d2b4876e0773a9dac58ea16bd90566
Showing with 7 additions and 6 deletions.
  1. +7 −0 debian/changelog
  2. +0 −6 src/tools/pkcs15-tool.c
View
@@ -1,3 +1,10 @@
+opensc (0.11.1-2etch2) stable-security; urgency=critical
+
+ * src/tools/pkcs15-tool.c: Small fix to the previous security
+ vulnerability to remove a strict check for the default card label.
+
+ -- Eric Dorland <eric@debian.org> Sat, 30 Aug 2008 15:07:29 -0400
+
opensc (0.11.1-2etch1) stable-security; urgency=critical
* src/libopensc/card-cardos.c, src/tools/pkcs15-tool.c: Patch to fix
View
@@ -1184,12 +1184,6 @@ static int test_update(sc_card_t *in_card)
goto end;
}
- if (strcmp("OpenSC Card",p15card->label) != 0) {
- printf("not initialized by opensc, card is fine.");
- rc = 0;
- goto end;
- }
-
/* first select file on 5015 and get fci */
sc_format_apdu(in_card, &apdu, SC_APDU_CASE_4_SHORT, 0xa4, 0x08, 0x00);
apdu.lc = sizeof(cmd1);

0 comments on commit a85b848

Please sign in to comment.