build: fix --disable-sm

This commit is contained in:
Alon Bar-Lev 2018-05-16 21:30:15 +03:00 committed by Frank Morgner
parent af72682072
commit 62de900b1a
1 changed files with 2 additions and 0 deletions

View File

@ -451,6 +451,7 @@ static int sc_hsm_soc_biomatch(sc_card_t *card, struct sc_pin_cmd_data *data,
#ifdef ENABLE_SM
#ifdef ENABLE_OPENPACE
#include "sm/sm-eac.h"
#include <eac/cv_cert.h>
@ -573,6 +574,7 @@ static int sc_hsm_perform_chip_authentication(sc_card_t *card)
return SC_ERROR_NOT_SUPPORTED;
}
#endif
#endif