fixed missing references to list operations

This commit is contained in:
Frank Morgner
2014-02-19 00:49:34 +01:00
parent d4bcf4e592
commit 68d8a9cf64
2 changed files with 6 additions and 2 deletions

View File

@@ -61,8 +61,7 @@ AC_MSG_CHECKING([for iasecc_sm_external_authentication])
AC_TRY_LINK_FUNC(iasecc_sm_external_authentication,
[ AC_MSG_RESULT([yes]) ],
[ AC_MSG_ERROR([Cannot link against libopensc with SM]) ])
AC_CHECK_FUNCS([sc_apdu_get_octets])
AC_CHECK_FUNCS([_sc_match_atr])
AC_CHECK_FUNCS([sc_apdu_get_octets _sc_match_atr list_iterator_next])
CPPFLAGS="$saved_CPPFLAGS"
LIBS="$saved_LIBS"

View File

@@ -46,6 +46,11 @@
#include "libopensc/apdu.c"
#endif
#ifndef HAVE_LIST_ITERATOR_NEXT
#include "opensc/src/common/simclist.c"
#endif
static const u8 boxing_cla = 0xff;
static const u8 boxing_ins = 0x9a;
static const u8 boxing_p1 = 0x04;