Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security/py-xmlsec: unbreak build with xmlsec1-1.3.2 (+)
With hat: office
- Loading branch information
Showing
4 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/constants.c.orig 2022-08-20 20:42:41 UTC | ||
+++ src/constants.c | ||
@@ -316,8 +316,6 @@ int PyXmlSec_ConstantsModule_Init(PyObject* package) { | ||
PYXMLSEC_ADD_NS_CONSTANT(XPathNs, "XPATH"); | ||
PYXMLSEC_ADD_NS_CONSTANT(XPath2Ns, "XPATH2"); | ||
PYXMLSEC_ADD_NS_CONSTANT(XPointerNs, "XPOINTER"); | ||
- PYXMLSEC_ADD_NS_CONSTANT(Soap11Ns, "SOAP11"); | ||
- PYXMLSEC_ADD_NS_CONSTANT(Soap12Ns, "SOAP12"); | ||
PYXMLSEC_ADD_NS_CONSTANT(NsExcC14N, "EXC_C14N"); | ||
PYXMLSEC_ADD_NS_CONSTANT(NsExcC14NWithComments, "EXC_C14N_WITH_COMMENT"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- src/enc.c.orig 2023-12-13 20:01:11 UTC | ||
+++ src/enc.c | ||
@@ -17,6 +17,11 @@ | ||
#include <xmlsec/xmlenc.h> | ||
#include <xmlsec/xmltree.h> | ||
|
||
+// Backwards compatibility with xmlsec 1.2 | ||
+#ifndef XMLSEC_KEYINFO_FLAGS_LAX_KEY_SEARCH | ||
+#define XMLSEC_KEYINFO_FLAGS_LAX_KEY_SEARCH 0x00008000 | ||
+#endif | ||
+ | ||
typedef struct { | ||
PyObject_HEAD | ||
xmlSecEncCtxPtr handle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/xmlsec/constants.pyi.orig 2022-08-20 20:42:41 UTC | ||
+++ src/xmlsec/constants.pyi | ||
@@ -85,8 +85,6 @@ NsExcC14NWithComments: Final[str] | ||
Ns: Final[str] | ||
NsExcC14N: Final[str] | ||
NsExcC14NWithComments: Final[str] | ||
-Soap11Ns: Final[str] | ||
-Soap12Ns: Final[str] | ||
TransformAes128Cbc: Final[__Transform] | ||
TransformAes128Gcm: Final[__Transform] | ||
TransformAes192Cbc: Final[__Transform] |