On Sun, Oct 29, 2006 at 03:35:54PM +0100, Christian Horn wrote:
> 
> Sounds like a nice solution, but its currently not implemented:
> the certs with id 47 are looked up in files df01c200 and df0143b1
> so OpenSwan grabs the first one but i need the latter one.

A patch like the one attached would help me. Unfortunatelly i
didnt figure out what card-type, the first field there ist about,
so didnt change it.


greetings, Christian
diff -Naur ./src/libopensc/pkcs15-tcos.c 
../opensc_svn_r3042_patched/src/libopensc/pkcs15-tcos.c
--- ./src/libopensc/pkcs15-tcos.c       2006-10-30 11:38:36.000000000 +0100
+++ ../opensc_svn_r3042_patched/src/libopensc/pkcs15-tcos.c     2006-10-30 
12:37:49.000000000 +0100
@@ -52,15 +52,15 @@
                const char *path;
                const char *label;
        } certlist[]={
-               { 1, 0x45, 0, "DF01C000",     "Telesec Signatur Zertifikat"},
-               {-1, 0x45, 1, "DF014331",     "Signatur Zertifikat 1"},
+               { 1, 0x45, 0, "DF014331",     "Signatur Zertifikat 1"},
                {-1, 0x45, 1, "DF014332",     "Signatur Zertifikat 2"},
+               {-1, 0x45, 1, "DF01C000",     "Telesec Signatur Zertifikat"},
                {-1, 0x46, 0, "DF01C100",     "Telesec Authentifizierungs 
Zertifikat"},
                {-1, 0x46, 1, "DF014371",     "Authentifizierungs Zertifikat 
1"},
                {-1, 0x46, 1, "DF014372",     "Authentifizierungs Zertifikat 
2"},
-               {-1, 0x47, 0, "DF01C200",     "Telesec Verschluesselungs 
Zertifikat"},
-               {-1, 0x47, 1, "DF0143B1",     "Verschluesselungs Zertifikat 1"},
+               {-1, 0x47, 0, "DF0143B1",     "Verschluesselungs Zertifikat 1"},
                {-1, 0x47, 1, "DF0143B2",     "Verschluesselungs Zertifikat 2"},
+               {-1, 0x47, 1, "DF01C200",     "Telesec Verschluesselungs 
Zertifikat"},
                {-1, 0x48, 1, "41014352",     "W2K Logon Zertifikat"},
                { 2, 0x45, 1, "8000DF01C000", "SignTrust Signatur Zertifikat"},
                {-2, 0x46, 1, "800082008220", "SignTrust Verschluesselungs 
Zertifikat"},
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to