Skip to content

Commit 0e7c5e7

Browse files
committed
fix 1.2 compatibility
1 parent 5f57f2e commit 0e7c5e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/enc.c

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
#include <xmlsec/xmlenc.h>
1818
#include <xmlsec/xmltree.h>
1919

20+
// Backwards compatibility with xmlsec 1.2
21+
#ifndef XMLSEC_KEYINFO_FLAGS_LAX_KEY_SEARCH
22+
#define XMLSEC_KEYINFO_FLAGS_LAX_KEY_SEARCH 0x00008000
23+
#endif
24+
2025
typedef struct {
2126
PyObject_HEAD
2227
xmlSecEncCtxPtr handle;

0 commit comments

Comments
 (0)