summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorTorsten Fohrer <torsten.fohrer@sbe.de>2019-12-15 16:58:40 +0100
committerRalph Boehme <slow@samba.org>2019-12-18 14:33:58 +0000
commitf0eb1e623f76d3dbd0c22f96cabebd1041c147df (patch)
tree9da69d7a922badd5f13a754d12f7b4ee6dda9689 /source4/auth
parent5fd65edc91b0f56e044428a32676b079aec9377d (diff)
downloadsamba-f0eb1e623f76d3dbd0c22f96cabebd1041c147df.tar.gz
Avoiding bad call flags with python 3.8, using METH_NOARGS instead of zero.
(C) SBE network solutions GmbH Signed-off-by: Torsten Fohrer <torsten.fohrer@sbe.de> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Wed Dec 18 14:33:58 UTC 2019 on sn-devel-184
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/pygensec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/pygensec.c b/source4/auth/gensec/pygensec.c
index bc9d6bdcb16..986f32904e7 100644
--- a/source4/auth/gensec/pygensec.c
+++ b/source4/auth/gensec/pygensec.c
@@ -679,7 +679,7 @@ static PyMethodDef py_gensec_security_methods[] = {
"S.have_feature()\n Return True if GENSEC negotiated a particular feature." },
{ "set_max_update_size", (PyCFunction)py_gensec_set_max_update_size, METH_VARARGS,
"S.set_max_update_size(max_size) \n Some mechs can fragment update packets, needs to be use before the mech is started." },
- { "max_update_size", (PyCFunction)py_gensec_max_update_size, 0,
+ { "max_update_size", (PyCFunction)py_gensec_max_update_size, METH_NOARGS,
"S.max_update_size() \n Return the current max_update_size." },
{ "update", (PyCFunction)py_gensec_update, METH_VARARGS,
"S.update(blob_in) -> (finished, blob_out)\nPerform one step in a GENSEC dance. Repeat with new packets until finished is true or exception." },