CVS MCardPlugin/src

CVS User corcoran-guest ludovic.rousseau@free.fr
Fri, 17 Sep 2004 11:43:32 -0600


Update of /cvsroot/muscleplugins/MCardPlugin/src
In directory haydn:/tmp/cvs-serv16116

Modified Files:
	musclecardApplet.c 
Log Message:
Capabilities changes - MuscleCard does not really do DSA ...




--- /cvsroot/muscleplugins/MCardPlugin/src/musclecardApplet.c	2004/09/17 16:56:23	1.42
+++ /cvsroot/muscleplugins/MCardPlugin/src/musclecardApplet.c	2004/09/17 17:43:32	1.43
@@ -11,7 +11,7 @@
             Purpose: This abstracts the Card Edge Interface APDU's
 	             into client side function calls.
  
-$Id: musclecardApplet.c,v 1.42 2004/09/17 16:56:23 corcoran-guest Exp $
+$Id: musclecardApplet.c,v 1.43 2004/09/17 17:43:32 corcoran-guest Exp $
 ********************************************************************/
 #ifdef WIN32
 #include "../win32/MCardPlugin.h"
@@ -150,15 +150,14 @@
     break;
 
   case MSC_TAG_SUPPORT_CRYPTOALG:
-    ulValue = MSC_SUPPORT_RSA | MSC_SUPPORT_DSA |
+    ulValue = MSC_SUPPORT_RSA |
       MSC_SUPPORT_DES | MSC_SUPPORT_3DES;
     tagType = 4;
     break;
 
   case MSC_TAG_CAPABLE_RSA:
     ulValue = MSC_CAPABLE_RSA_1024 | MSC_CAPABLE_RSA_768 |
-      MSC_CAPABLE_RSA_NOPAD | MSC_CAPABLE_RSA_KEYGEN |
-      MSC_CAPABLE_RSA_PKCS1;
+      MSC_CAPABLE_RSA_NOPAD | MSC_CAPABLE_RSA_KEYGEN;
     tagType = 4;
     break;
 
@@ -245,7 +244,7 @@
     break;
 
   case MSC_TAG_CAPABLE_KEY_AUTH:
-    usValue = MSC_AUT_PIN_0;
+    usValue = MSC_AUT_PIN_1;
     tagType = 2;
     break;