compiler fix

This commit is contained in:
Frank Morgner 2018-01-26 10:47:43 +01:00
parent f862060614
commit 905e95eb37
1 changed files with 4 additions and 4 deletions

View File

@ -38,6 +38,10 @@ extern "C" {
#include <eac/eac.h>
#include <eac/pace.h>
/** @brief ASN.1 type for authenticated auxiliary data for terminal authentication */
typedef STACK_OF(CVC_DISCRETIONARY_DATA_TEMPLATE) ASN1_AUXILIARY_DATA;
DECLARE_ASN1_FUNCTIONS(ASN1_AUXILIARY_DATA)
#else
/** @brief Type of the secret */
enum s_type {
@ -158,10 +162,6 @@ int perform_terminal_authentication(sc_card_t *card,
const unsigned char *privkey, size_t privkey_len,
const unsigned char *auxiliary_data, size_t auxiliary_data_len);
/** @brief ASN.1 type for authenticated auxiliary data for terminal authentication */
typedef STACK_OF(CVC_DISCRETIONARY_DATA_TEMPLATE) ASN1_AUXILIARY_DATA;
DECLARE_ASN1_FUNCTIONS(ASN1_AUXILIARY_DATA)
/**
* @brief Establish secure messaging using Chip Authentication version 2
*