include non exported OpenSC functions

This commit is contained in:
Frank Morgner
2014-07-24 23:06:13 +02:00
parent b1966b5594
commit cb96784ed8
4 changed files with 47 additions and 11 deletions

View File

@@ -25,6 +25,7 @@
#include <libopensc/opensc.h>
#include <libopensc/pace.h>
#include <npa/boxing.h>
#include <npa/scutil.h>
#include <stdlib.h>
#include <string.h>
@@ -39,13 +40,6 @@
#include <endian.h>
#endif
#if HAVE_SC_APDU_GET_OCTETS
#include "libopensc/internal.h"
#else
/* Pull request for exporting sc_apdu_get_octets is pending. */
#include "libopensc/apdu.c"
#endif
static const u8 boxing_cla = 0xff;
static const u8 boxing_ins = 0x9a;
static const u8 boxing_p1 = 0x04;