diff --git a/Makefile b/Makefile index 5cc230e..4685314 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ # DEV_CYGWIN = FALSE # USE_HSM = TRUE -DEV_CYGWIN = TRUE -#USE_HSM = TRUE +#DEV_CYGWIN = TRUE +USE_HSM = TRUE ifeq ($(USE_HSM),TRUE) @@ -44,11 +44,10 @@ NFAST_CPPFLAGS = \ # nFast LDLIBS NFAST_LDLIBS = \ - $(NFAST_LIBPATH)/librqcard.a \ $(NFAST_LIBPATH)/libnfkm.a \ $(NFAST_LIBPATH)/libnfstub.a \ $(NFAST_LIBPATH)/libnflog.a \ - $(NFAST_LIBPATH)/libcutils.a -lm \ + $(NFAST_LIBPATH)/libcutils.a \ else # !USE_HSM diff --git a/cr_hsm_code.c b/cr_hsm_code.c index 189a067..d034d02 100644 --- a/cr_hsm_code.c +++ b/cr_hsm_code.c @@ -161,7 +161,7 @@ const NFKM_KeyIdent hsmEcdsaPubkeyidentProd = { (char*)"simple", (char*)"nct2-pu int hsm_ecdsa_load_keypair( NFKM_KeyIdent privKeyident, M_KeyID *privKeyid, NFKM_KeyIdent pubKeyident, M_KeyID *pubKeyid ); -//#define EXE_AUTH_OK +#define EXE_AUTH_OK // init HSM int hsm_initialize( void ) {