-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport release-24.05] opensc: 0.25.1 -> 0.26.0 (#355910)
- Loading branch information
Showing
2 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
pkgs/tools/security/opensc/0001-Revert-Desctivate-driver-for-MICARDO.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
From 6b576118c02241c7e366696be2f16850460fac35 Mon Sep 17 00:00:00 2001 | ||
From: Michael Adler <[email protected]> | ||
Date: Wed, 27 Nov 2024 09:23:04 +0100 | ||
Subject: [PATCH] Revert "Desctivate driver for MICARDO" | ||
|
||
This reverts commit 13951f633b5f1df14d5c49310cd397a42a467f36. | ||
--- | ||
src/libopensc/ctx.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/libopensc/ctx.c b/src/libopensc/ctx.c | ||
index 6fbab389c..2316209ee 100644 | ||
--- a/src/libopensc/ctx.c | ||
+++ b/src/libopensc/ctx.c | ||
@@ -148,6 +148,7 @@ static const struct _sc_driver_entry internal_card_drivers[] = { | ||
* put the muscle driver first to cope with this bug. */ | ||
{ "muscle", (void *(*)(void)) sc_get_muscle_driver }, | ||
{ "sc-hsm", (void *(*)(void)) sc_get_sc_hsm_driver }, | ||
+ { "mcrd", (void *(*)(void)) sc_get_mcrd_driver }, | ||
{ "setcos", (void *(*)(void)) sc_get_setcos_driver }, | ||
{ "PIV-II", (void *(*)(void)) sc_get_piv_driver }, | ||
{ "cac", (void *(*)(void)) sc_get_cac_driver }, | ||
@@ -175,7 +176,6 @@ static const struct _sc_driver_entry old_card_drivers[] = { | ||
{ "atrust-acos",(void *(*)(void)) sc_get_atrust_acos_driver }, | ||
{ "cyberflex", (void *(*)(void)) sc_get_cyberflex_driver }, | ||
{ "flex", (void *(*)(void)) sc_get_cryptoflex_driver }, | ||
- { "mcrd", (void *(*)(void)) sc_get_mcrd_driver }, | ||
{ NULL, NULL } | ||
}; | ||
// clang-format on | ||
-- | ||
2.47.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters