fixed compiler warnings
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <libopensc/log.h>
|
||||
#include <libopensc/opensc.h>
|
||||
#include <libopensc/reader-boxing.h>
|
||||
#include <libopensc/sm.h>
|
||||
#include <sm/sm-eac.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
@@ -38,7 +38,7 @@ int sc_mutex_unlock(const sc_context_t *ctx, void *mutex) {}
|
||||
|
||||
#if !defined(HAVE_SC_APDU_GET_OCTETS) || !defined(HAVE_SC_APDU_SET_RESP)
|
||||
#ifdef HAVE__SC_MATCH_ATR
|
||||
size_t sc_get_max_send_size(const sc_card_t *card) {}
|
||||
size_t sc_get_max_send_size(const sc_card_t *card) {return 0;}
|
||||
#endif
|
||||
#include "libopensc/apdu.c"
|
||||
#endif
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include "ccid.h"
|
||||
#include "cmdline.h"
|
||||
#include "config.h"
|
||||
#include "scutil.h"
|
||||
#include "usbstring.h"
|
||||
|
||||
#define DRIVER_VENDOR_NUM 0x0D46 /* KOBIL Systems */
|
||||
|
||||
Reference in New Issue
Block a user