remove extra arguments in arg parsing format codes (closes #23875)
This commit is contained in:
parent
42c235e833
commit
43b842775f
|
@ -3588,7 +3588,7 @@ PySSL_enum_certificates(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
PyObject *keyusage = NULL, *cert = NULL, *enc = NULL, *tup = NULL;
|
||||
PyObject *result = NULL;
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|s:enum_certificates",
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "s:enum_certificates",
|
||||
kwlist, &store_name)) {
|
||||
return NULL;
|
||||
}
|
||||
|
@ -3676,7 +3676,7 @@ PySSL_enum_crls(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
PyObject *crl = NULL, *enc = NULL, *tup = NULL;
|
||||
PyObject *result = NULL;
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|s:enum_crls",
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "s:enum_crls",
|
||||
kwlist, &store_name)) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue