bx509: Fix cjwt_token_validator build

This commit is contained in:
Nicolas Williams
2019-12-20 15:58:44 -06:00
parent ee0a288f92
commit 9a41785682
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ test_kdc_ca_SOURCES = test_kdc_ca.c
# Token plugins (for bx509d)
if HAVE_CJWT
cjwt_token_validator_la_SOURCES = cjwt_token_validator.c
cjwt_token_validator_la_AM_CPPFLAGS = $(CJSON_FLAGS) $(CJWT_FLAGS)
cjwt_token_validator_la_CFLAGS = $(CJSON_CFLAGS) $(CJWT_CFLAGS)
cjwt_token_validator_la_LDFLAGS = -module $(CJSON_LIBS) $(CJWT_LIBS)
endif

View File

@@ -60,7 +60,7 @@
#include <token_validator_plugin.h>
#include <cjwt/cjwt.h>
#ifdef HAVE_CJSON
#include <cjson/cJSON.h>
#include <cJSON.h>
#endif
static const char *