Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/saml.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ const char* SAML_STATUS_VERSION_MISMATCH = "urn:oasis:names:tc:SAML:2.0:status:V

static int DEBUG_ENABLED = 1;
static void ingoreGenericError(void* ctx, const char* msg, ...) {};
/* libxml2 2.12 made the error passed to xmlStructuredErrorFunc const */
#if LIBXML_VERSION >= 21200
static void ingoreStructuredError(void* userData, const xmlError* error) {};
#else
static void ingoreStructuredError(void* userData, xmlError* error) {};
#endif


static void saml_log(char* msg) {
Expand Down
Loading