- bugfix: moved ASN.1 declaration of PACE-APDUs to pace.c

- added commandline-option to test PACE currently with hard coded secret etc.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@41 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-03-01 16:22:41 +00:00
parent 4900d205ce
commit 69b8e3fc65
5 changed files with 152 additions and 109 deletions

View File

@@ -27,6 +27,7 @@
#include <opensc/log.h>
#include "ccid.h"
#include "pace.h"
//static const char *app_name = "ccid";
static sc_context_t *ctx = NULL;
@@ -1277,3 +1278,8 @@ int ccid_state_changed(RDR_to_PC_NotifySlotChange_t **slotchange, int timeout)
return 0;
}
void ccid_testpace()
{
pace_test(ctx, card_in_slot[0]);
}