diff options
author | joerg <joerg@pkgsrc.org> | 2018-12-27 15:13:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2018-12-27 15:13:00 +0000 |
commit | 874258674f9e374d7036e6a18452db289053d898 (patch) | |
tree | bf2c163f2de8a4f7580d0b69bddf8fffb7a7e0e4 /security/py-xmlsec/patches | |
parent | 7117dfedaeac0ae19d2bbf37609192e37417c624 (diff) | |
download | pkgsrc-874258674f9e374d7036e6a18452db289053d898.tar.gz |
Sync with libxmlsec API changes. Bump revision.
Diffstat (limited to 'security/py-xmlsec/patches')
-rw-r--r-- | security/py-xmlsec/patches/patch-x509.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/security/py-xmlsec/patches/patch-x509.c b/security/py-xmlsec/patches/patch-x509.c new file mode 100644 index 00000000000..3009f65c0bf --- /dev/null +++ b/security/py-xmlsec/patches/patch-x509.c @@ -0,0 +1,25 @@ +$NetBSD: patch-x509.c,v 1.1 2018/12/27 15:13:01 joerg Exp $ + +--- x509.c.orig 2018-12-25 21:26:30.562985375 +0000 ++++ x509.c +@@ -23,16 +23,16 @@ PyObject *xmlsec_X509DataGetNodeContent( + xmlSecKeyInfoCtxPtr keyInfoCtx; + int ret; + +- if (CheckArgs(args, "OIO:x509DataGetNodeContent")) { +- if (!PyArg_ParseTuple(args, "OiO:x509DataGetNodeContent", &node_obj, +- &deleteChildren, &keyInfoCtx_obj)) ++ if (CheckArgs(args, "OO:x509DataGetNodeContent")) { ++ if (!PyArg_ParseTuple(args, "OO:x509DataGetNodeContent", &node_obj, ++ &keyInfoCtx_obj)) + return NULL; + } + else return NULL; + + node = xmlNodePtr_get(node_obj); + keyInfoCtx = xmlSecKeyInfoCtxPtr_get(keyInfoCtx_obj); +- ret = xmlSecX509DataGetNodeContent(node, deleteChildren, keyInfoCtx); ++ ret = xmlSecX509DataGetNodeContent(node, keyInfoCtx); + + return wrap_int(ret); + } |