View | Details | Raw Unified | Return to bug 279954 | Differences between
and this patch

Collapse All | Expand All

(-)src/pki_config.c (+5 lines)
Lines 17-22 Link Here
17
17
18
#define PKI_DEF_CONF_DIRS_SIZE	2
18
#define PKI_DEF_CONF_DIRS_SIZE	2
19
#define LIBXML_MIN_VERSION 20600
19
#define LIBXML_MIN_VERSION 20600
20
#define LIBXML_212_VERSION 21200
20
21
21
#if LIBXML_VERSION < LIBXML_MIN_VERSION
22
#if LIBXML_VERSION < LIBXML_MIN_VERSION
22
#define xmlErrorPtr void *
23
#define xmlErrorPtr void *
Lines 30-36 Link Here
30
#endif
31
#endif
31
*/
32
*/
32
33
34
#if LIBXML_VERSION >= LIBXML_212_VERSION
35
void logXmlMessages( void *userData, const xmlError *error ) {
36
#else
33
void logXmlMessages( void *userData, xmlErrorPtr error ) {
37
void logXmlMessages( void *userData, xmlErrorPtr error ) {
38
#endif
34
#if LIBXML_VERSION >= LIBXML_MIN_VERSION
39
#if LIBXML_VERSION >= LIBXML_MIN_VERSION
35
	PKI_log_err( "XML I/O Error: %s", error->message);
40
	PKI_log_err( "XML I/O Error: %s", error->message);
36
#else
41
#else

Return to bug 279954