[pkg-opensc-commit] [SCM] OpenSC packaging branch, master, updated. 8eeea4108ff386081e3510161675e5d5b246da41
Eric Dorland
eric at debian.org
Mon Sep 1 03:39:06 UTC 2008
The following commit has been merged in the master branch:
commit 8eeea4108ff386081e3510161675e5d5b246da41
Author: Eric Dorland <eric at debian.org>
Date: Fri Aug 29 03:15:15 2008 -0400
src/tools/pkcs15-tool.c: Small fix to the previous security vulnerability to remove a strict check for the default card label.
diff --git a/debian/changelog b/debian/changelog
index edb0e2d..61f2feb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+opensc (0.11.4-5) unstable; urgency=high
+
+ * 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 at debian.org> Fri, 29 Aug 2008 03:14:53 -0400
+
opensc (0.11.4-4) unstable; urgency=high
* src/libopensc/card-cardos.c, src/tools/pkcs15-tool.c: Patch to fix
diff --git a/src/tools/pkcs15-tool.c b/src/tools/pkcs15-tool.c
index 1ce8d56..405e11b 100644
--- a/src/tools/pkcs15-tool.c
+++ b/src/tools/pkcs15-tool.c
@@ -1198,12 +1198,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);
--
OpenSC packaging
More information about the pkg-opensc-commit
mailing list